[SSE] Fix protected ranges

This commit is contained in:
Julia Radzhabova 2021-06-23 01:51:11 +03:00
parent 46ec6ba23c
commit d564b24dd4

View file

@ -295,7 +295,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
}, },
getSettings: function() { getSettings: function() {
return {}; return {arr: [], deletedArr: this.deletedArr};
}, },
onPrimary: function() { onPrimary: function() {
@ -303,7 +303,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
}, },
onDlgBtnClick: function(event) { 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(); this.close();
}, },