From 8d55696180d4e299a86691dbd4cc18da0299e599 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 18 May 2020 20:17:25 +0300 Subject: [PATCH] [SSE] Set empty range for function arguments --- apps/spreadsheeteditor/main/app/view/CellRangeDialog.js | 2 +- apps/spreadsheeteditor/main/app/view/FormulaWizard.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/CellRangeDialog.js b/apps/spreadsheeteditor/main/app/view/CellRangeDialog.js index 151a76efa..de07e7116 100644 --- a/apps/spreadsheeteditor/main/app/view/CellRangeDialog.js +++ b/apps/spreadsheeteditor/main/app/view/CellRangeDialog.js @@ -81,7 +81,7 @@ define([ el : $('#id-dlg-cell-range'), name : 'range', style : 'width: 100%;', - allowBlank : false, + allowBlank : this.options.allowBlank || false, blankError : this.txtEmpty, validateOnChange: true }); diff --git a/apps/spreadsheeteditor/main/app/view/FormulaWizard.js b/apps/spreadsheeteditor/main/app/view/FormulaWizard.js index f19c4ec1c..8398990da 100644 --- a/apps/spreadsheeteditor/main/app/view/FormulaWizard.js +++ b/apps/spreadsheeteditor/main/app/view/FormulaWizard.js @@ -356,6 +356,7 @@ define([ }; var win = new SSE.Views.CellRangeDialog({ + allowBlank: true, handler: handlerDlg }).on('close', function() { input.setValue(changedValue);