From 0937c4779af9c0e35bc141b718ebe8557ae4a3b2 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 6 Feb 2014 14:53:34 +0000 Subject: [PATCH] update list menu --- static/js/mainMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index 3052b47c..e8830b13 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -376,7 +376,7 @@ pandora.ui.mainMenu = function() { pandora.addList(data.id.indexOf('smart') > -1, data.id.indexOf('from') > -1); } } else if (Ox.contains(['neweditfromselection', 'newsmarteditfromresults'], data.id)) { - // ... + pandora.addEdit(data.id.indexOf('smart') > -1, data.id.indexOf('from') > -1); } else if (data.id == 'newpdf') { pandora.addText({type: 'pdf'}); } else if (data.id == 'duplicatelist') { @@ -737,7 +737,7 @@ pandora.ui.mainMenu = function() { pandora_listselection: function(data) { var action = data.value.length ? 'enableItem' : 'disableItem'; that[action]('newlistfromselection'); - if (ui.section == 'items') { + if (ui.section == 'items' && pandora.isClipView()) { that[action]('neweditfromselection'); } that.replaceMenu('itemMenu', getItemMenu());