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(); },