Merge pull request #1389 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 54381: lock protect buttons when edit cell
This commit is contained in:
commit
7826bc75be
|
@ -116,7 +116,7 @@ define([
|
||||||
iconCls: 'toolbar__icon protect-workbook',
|
iconCls: 'toolbar__icon protect-workbook',
|
||||||
enableToggle: true,
|
enableToggle: true,
|
||||||
caption: this.txtProtectWB,
|
caption: this.txtProtectWB,
|
||||||
lock : [_set.selRangeEdit, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.selRangeEdit, _set.lostConnect, _set.coAuth],
|
||||||
dataHint : '1',
|
dataHint : '1',
|
||||||
dataHintDirection: 'bottom',
|
dataHintDirection: 'bottom',
|
||||||
dataHintOffset: 'small'
|
dataHintOffset: 'small'
|
||||||
|
@ -128,7 +128,7 @@ define([
|
||||||
iconCls: 'toolbar__icon protect-sheet',
|
iconCls: 'toolbar__icon protect-sheet',
|
||||||
enableToggle: true,
|
enableToggle: true,
|
||||||
caption: this.txtProtectSheet,
|
caption: this.txtProtectSheet,
|
||||||
lock : [_set.selRangeEdit, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.selRangeEdit, _set.lostConnect, _set.coAuth],
|
||||||
dataHint : '1',
|
dataHint : '1',
|
||||||
dataHintDirection: 'bottom',
|
dataHintDirection: 'bottom',
|
||||||
dataHintOffset: 'small'
|
dataHintOffset: 'small'
|
||||||
|
@ -139,7 +139,7 @@ define([
|
||||||
cls: 'btn-toolbar x-huge icon-top',
|
cls: 'btn-toolbar x-huge icon-top',
|
||||||
iconCls: 'toolbar__icon allow-edit-ranges',
|
iconCls: 'toolbar__icon allow-edit-ranges',
|
||||||
caption: this.txtAllowRanges,
|
caption: this.txtAllowRanges,
|
||||||
lock : [_set.selRangeEdit, _set.lostConnect, _set.coAuth, _set.wsLock],
|
lock : [_set.editCell, _set.selRangeEdit, _set.lostConnect, _set.coAuth, _set.wsLock],
|
||||||
dataHint : '1',
|
dataHint : '1',
|
||||||
dataHintDirection: 'bottom',
|
dataHintDirection: 'bottom',
|
||||||
dataHintOffset: 'small'
|
dataHintOffset: 'small'
|
||||||
|
|
Loading…
Reference in a new issue