[SSE] Fix Bug 35858.

This commit is contained in:
Julia Radzhabova 2017-09-18 16:53:29 +03:00
parent d6aeb9f679
commit 869c47155f

View file

@ -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);
});