diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index 4a75d61cb..58e3c40c1 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -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); });