[SSE] Fix Bug 35858.
This commit is contained in:
parent
d6aeb9f679
commit
869c47155f
|
@ -1416,7 +1416,6 @@ define([
|
|||
documentHolder.pmiEntireShow.setVisible(iscolmenu||isrowmenu);
|
||||
documentHolder.pmiFreezePanes.setVisible(!iscelledit);
|
||||
documentHolder.pmiFreezePanes.setCaption(this.api.asc_getSheetViewSettings().asc_getIsFreezePane() ? documentHolder.textUnFreezePanes : documentHolder.textFreezePanes);
|
||||
documentHolder.pmiEntriesList.setVisible(!iscelledit);
|
||||
|
||||
/** coauthoring begin **/
|
||||
documentHolder.ssMenu.items[17].setVisible(iscellmenu && !iscelledit && this.permissions.canCoAuthoring && this.permissions.canComments);
|
||||
|
@ -1447,6 +1446,8 @@ define([
|
|||
|
||||
var inPivot = !!cellinfo.asc_getPivotTableInfo();
|
||||
|
||||
documentHolder.pmiEntriesList.setVisible(!iscelledit && !inPivot);
|
||||
|
||||
_.each(documentHolder.ssMenu.items, function(item) {
|
||||
item.setDisabled(isCellLocked);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue