[SSE] Fix Bug 52740

This commit is contained in:
Julia Radzhabova 2021-09-23 19:13:19 +03:00
parent ae3b076443
commit ffe80f1bee

View file

@ -293,7 +293,7 @@ define([
onChangeProtectSheet: function() {
var props = this.getWSProps(true);
if (this.view) {
if (this.view && props) {
this.view.btnProtectSheet.toggle(props.wsLock, true); //current sheet
Common.Utils.lockControls(SSE.enumLock['Objects'], props.wsProps['Objects'], { array: [this.view.chLockedText, this.view.chLockedShape]});
Common.Utils.lockControls(SSE.enumLock.wsLock, props.wsLock, { array: [this.view.btnAllowRanges]});