From ddcd3fce264348090d2830d7b12e444ad32e6921 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 20 Apr 2020 19:41:43 +0300 Subject: [PATCH] [SSE] Fix formula settings --- .../main/app/view/FormulaWizard.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/FormulaWizard.js b/apps/spreadsheeteditor/main/app/view/FormulaWizard.js index 0656d210a..7e4b7dd67 100644 --- a/apps/spreadsheeteditor/main/app/view/FormulaWizard.js +++ b/apps/spreadsheeteditor/main/app/view/FormulaWizard.js @@ -62,7 +62,7 @@ define([ '
', '', '
', - '', + '
', '
', '
', '', @@ -107,10 +107,12 @@ define([ this.scrollerY = new Common.UI.Scroller({ el: $window.find('#formula-wizard-tbl-args').parent(), minScrollbarLength : 20, - alwaysVisibleY: this.scrollAlwaysVisible + alwaysVisibleY: true }); this.scrollerY.scrollTop(0); + this._preventCloseCellEditor = false; + this.afterRender(); }, @@ -121,7 +123,7 @@ define([ _handleInput: function(state) { if (this.options.handler) this.options.handler.call(this, state, (state == 'ok') ? this.getSettings() : undefined); - + this._preventCloseCellEditor = (state == 'ok'); this.close(); }, @@ -160,7 +162,7 @@ define([ argtype = props.asc_getArgumentsType(), argcount = 0, lasttype; - for (var i=0; i