[SSE] Lock allow ranges button
This commit is contained in:
parent
b4c0fd398f
commit
3c09b6d325
|
@ -273,6 +273,7 @@ define([
|
|||
var props = me.getWSProps();
|
||||
me.view.btnProtectSheet.toggle(props.wsLock, true); //current sheet
|
||||
Common.Utils.lockControls(SSE.enumLock['Objects'], props.wsProps['Objects'], { array: [me.view.chLockedText, me.view.chLockedShape]});
|
||||
Common.Utils.lockControls(SSE.enumLock.wsLock, props.wsLock, { array: [me.view.btnAllowRanges]});
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -285,6 +286,7 @@ define([
|
|||
|
||||
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]});
|
||||
Common.NotificationCenter.trigger('protect:wslock', props);
|
||||
},
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ define([
|
|||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'toolbar__icon allow-edit-ranges',
|
||||
caption: this.txtAllowRanges,
|
||||
lock : [_set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
lock : [_set.selRangeEdit, _set.lostConnect, _set.coAuth, _set.wsLock]
|
||||
});
|
||||
this.lockedControls.push(this.btnAllowRanges);
|
||||
|
||||
|
|
Loading…
Reference in a new issue