[SSE] Fix freeze settings in context menu
This commit is contained in:
parent
1f49644924
commit
0eaa3b53d5
|
@ -1933,6 +1933,7 @@ define([
|
||||||
documentHolder.menuHyperlink.setDisabled(isCellLocked || inPivot);
|
documentHolder.menuHyperlink.setDisabled(isCellLocked || inPivot);
|
||||||
documentHolder.menuAddHyperlink.setDisabled(isCellLocked || inPivot);
|
documentHolder.menuAddHyperlink.setDisabled(isCellLocked || inPivot);
|
||||||
documentHolder.pmiInsFunction.setDisabled(isCellLocked || inPivot);
|
documentHolder.pmiInsFunction.setDisabled(isCellLocked || inPivot);
|
||||||
|
documentHolder.pmiFreezePanes.setDisabled(this.api.asc_isWorksheetLockedOrDeleted(this.api.asc_getActiveWorksheetIndex()));
|
||||||
|
|
||||||
if (showMenu) this.showPopupMenu(documentHolder.ssMenu, {}, event);
|
if (showMenu) this.showPopupMenu(documentHolder.ssMenu, {}, event);
|
||||||
} else if (this.permissions.isEditDiagram && seltype == Asc.c_oAscSelectionType.RangeChartText) {
|
} else if (this.permissions.isEditDiagram && seltype == Asc.c_oAscSelectionType.RangeChartText) {
|
||||||
|
|
Loading…
Reference in a new issue