diff --git a/app/client/components/BaseView.js b/app/client/components/BaseView.js index 8d63d79f..bba84c5d 100644 --- a/app/client/components/BaseView.js +++ b/app/client/components/BaseView.js @@ -141,7 +141,7 @@ function BaseView(gristDoc, viewSectionModel, options) { }).extend({deferred: true})); // Update the cursor whenever linkedRowId() changes. - this.autoDispose(this.linkedRowId.subscribe(rowId => this.setCursorPos({rowId}))); + this.autoDispose(this.linkedRowId.subscribe(rowId => this.setCursorPos({rowId: rowId || 'new'}))); // Indicated whether editing the section should be disabled given the current linking state. this.disableEditing = this.autoDispose(ko.computed(() => {