From 25a9032bba2d6f755d76155d589a4b50629b22ef Mon Sep 17 00:00:00 2001 From: j Date: Fri, 9 Jun 2017 15:25:14 +0200 Subject: [PATCH] fix remove from list --- static/js/mainMenu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index f31533360..293cbc145 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -1355,7 +1355,7 @@ pandora.ui.mainMenu = function() { && ui.editView != 'annotations', // FIXME: focus listName = isVideoView || isClipView ? '' : ui.section == 'items' ? ( - ui._? Ox._('from List') : Ox._('from Archive') + ui._list ? Ox._('from List') : Ox._('from Archive') ) : Ox._('from Edit'), listItemsName = Ox._( @@ -1421,6 +1421,7 @@ pandora.ui.mainMenu = function() { historyItems = pandora.history.items(), undoText = pandora.history.undoText(), redoText = pandora.history.redoText(); + return { id: 'itemMenu', title: Ox._('Item'), items: [ { id: 'add', title: Ox._('Add {0}...', [Ox._(pandora.site.itemName.singular)]), disabled: !pandora.hasCapability('canAddItems') }, { id: 'edit', title: Ox._('Edit {0}...', [Ox._(pandora.site.itemName.singular)]), disabled: true /*fixme: !canEdit */ },