From d564b24dd469f5335eb4be02bdcb36fc5ab6c0c2 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 23 Jun 2021 01:51:11 +0300 Subject: [PATCH] [SSE] Fix protected ranges --- apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js b/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js index 101491b2f..081656b45 100644 --- a/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js +++ b/apps/spreadsheeteditor/main/app/view/ProtectRangesDlg.js @@ -295,7 +295,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template', }, getSettings: function() { - return {}; + return {arr: [], deletedArr: this.deletedArr}; }, onPrimary: function() { @@ -303,7 +303,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template', }, onDlgBtnClick: function(event) { - this.handler && this.handler.call(this, event.currentTarget.attributes['result'].value); + this.handler && this.handler.call(this, event.currentTarget.attributes['result'].value, this.getSettings()); this.close(); },