Merge pull request #1199 from ONLYOFFICE/fix/bugfix

[SSE] Fix Bug 52740
This commit is contained in:
Julia Radzhabova 2021-09-23 19:22:37 +03:00 committed by GitHub
commit f3adaf57d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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]});