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