[SSE] Fix protect buttons

This commit is contained in:
Julia Radzhabova 2021-11-09 18:11:50 +03:00
parent 4bfc767a60
commit 99030e2e8e

View file

@ -116,6 +116,7 @@ define([
},
onWorkbookClick: function(state) {
this.view.btnProtectWB.toggle(!state, true);
if (state) {
var me = this,
btn,
@ -172,6 +173,7 @@ define([
},
onSheetClick: function(state) {
this.view.btnProtectSheet.toggle(!state, true);
if (state) {
var me = this,
btn,