diff --git a/static/js/documentsPanel.js b/static/js/documentsPanel.js index 6a45c336..0eda6995 100644 --- a/static/js/documentsPanel.js +++ b/static/js/documentsPanel.js @@ -234,9 +234,12 @@ pandora.ui.documentsPanel = function(options) { $itemMenu = Ox.MenuButton({ items: isItemView ? [ - {id: 'add', title: Ox._( - 'Add Documents to {0}...', [pandora.site.itemName.singular] - ), keyboard: 'control n'}, + { + id: 'add', + disabled: !pandora.site.capabilities.canManageDocuments[pandora.user.level], + title: Ox._('Add Documents to {0}...', [pandora.site.itemName.singular]), + keyboard: 'control n' + }, {}, {id: 'open', title: '', keyboard: 'return'}, {id: 'edit', title: ''},