[SSE] Lock header button
This commit is contained in:
parent
4a00a9d804
commit
75d493b2ef
|
@ -2324,6 +2324,8 @@ define([
|
||||||
|
|
||||||
toolbar.lockToolbar(SSE.enumLock.commentLock, (selectionType == Asc.c_oAscSelectionType.RangeCells) && (info.asc_getComments().length>0 || info.asc_getLocked()),
|
toolbar.lockToolbar(SSE.enumLock.commentLock, (selectionType == Asc.c_oAscSelectionType.RangeCells) && (info.asc_getComments().length>0 || info.asc_getLocked()),
|
||||||
{ array: this.btnsComment });
|
{ array: this.btnsComment });
|
||||||
|
|
||||||
|
toolbar.lockToolbar(SSE.enumLock.headerLock, info.asc_getLockedHeaderFooter(), {array: [this.toolbar.btnEditHeader]});
|
||||||
},
|
},
|
||||||
|
|
||||||
onApiSelectionChanged_DiagramEditor: function(info) {
|
onApiSelectionChanged_DiagramEditor: function(info) {
|
||||||
|
|
|
@ -88,7 +88,8 @@ define([
|
||||||
docPropsLock: 'doc-props-lock',
|
docPropsLock: 'doc-props-lock',
|
||||||
printAreaLock: 'print-area-lock',
|
printAreaLock: 'print-area-lock',
|
||||||
namedRangeLock: 'named-range-lock',
|
namedRangeLock: 'named-range-lock',
|
||||||
multiselectCols:'is-multiselect-cols'
|
multiselectCols:'is-multiselect-cols',
|
||||||
|
headerLock: 'header-lock'
|
||||||
};
|
};
|
||||||
|
|
||||||
SSE.Views.Toolbar = Common.UI.Mixtbar.extend(_.extend({
|
SSE.Views.Toolbar = Common.UI.Mixtbar.extend(_.extend({
|
||||||
|
@ -1340,7 +1341,7 @@ define([
|
||||||
cls: 'btn-toolbar x-huge icon-top',
|
cls: 'btn-toolbar x-huge icon-top',
|
||||||
iconCls: 'btn-editheader',
|
iconCls: 'btn-editheader',
|
||||||
caption: me.capBtnInsHeader,
|
caption: me.capBtnInsHeader,
|
||||||
lock : [_set.editCell, _set.selRangeEdit, _set.printAreaLock, _set.lostConnect, _set.coAuth]
|
lock : [_set.editCell, _set.selRangeEdit, _set.headerLock, _set.lostConnect, _set.coAuth]
|
||||||
});
|
});
|
||||||
|
|
||||||
me.btnImgAlign = new Common.UI.Button({
|
me.btnImgAlign = new Common.UI.Button({
|
||||||
|
|
Loading…
Reference in a new issue