diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index 58282ecfc..e1a80b5ef 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -1669,7 +1669,11 @@ pandora.ui.mainMenu = function() { { id: 'showfilters', title: Ox._((ui.showFilters ? 'Hide' : 'Show') + ' Filters'), - disabled: ui.section != 'items' || !!ui.item, keyboard: 'shift f' + disabled: ( + !Ox.contains(['items', 'documents'], ui.section) || + (ui.section == 'items' && !!ui.item) || + (ui.section == 'documents' && !!ui.document) + ), keyboard: 'shift f' }, { id: 'showbrowser',