diff --git a/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js b/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js index 990bf3d02..795331dfe 100644 --- a/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js +++ b/apps/spreadsheeteditor/main/app/controller/FormulaDialog.js @@ -229,7 +229,7 @@ define([ console.log('show formula settings'); var me = this; - var name = props.name, + var name = props.asc_getName(), descrarr = this.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale")), funcprops = { name: this.api.asc_getFormulaLocaleName(name), diff --git a/apps/spreadsheeteditor/main/app/view/FormulaDialog.js b/apps/spreadsheeteditor/main/app/view/FormulaDialog.js index b4fb645ca..2a2832230 100644 --- a/apps/spreadsheeteditor/main/app/view/FormulaDialog.js +++ b/apps/spreadsheeteditor/main/app/view/FormulaDialog.js @@ -146,7 +146,7 @@ define([ Common.UI.Window.prototype.hide.call(this); - !this._preventCloseCellEditor && this.api.asc_closeCellEditor(); + !this._preventCloseCellEditor && this.api.asc_closeCellEditor(true); }, onBtnClick: function (event) {