main menu: fix copy in edits section

This commit is contained in:
rolux 2014-02-12 12:04:07 +00:00
parent e7431d4d5b
commit eb0575798e

View file

@ -422,6 +422,7 @@ pandora.ui.mainMenu = function() {
: pandora.isClipView() && !pandora.$ui.browser.hasFocus() ? pandora.clipboard[action]( : pandora.isClipView() && !pandora.$ui.browser.hasFocus() ? pandora.clipboard[action](
pandora.$ui.clipList.options('selected'), 'clip' pandora.$ui.clipList.options('selected'), 'clip'
) )
: ui.section == 'edits' ? pandora.clipboard[action](ui.editSelection, 'clip')
: pandora.clipboard[action](ui.listSelection, 'item'); : pandora.clipboard[action](ui.listSelection, 'item');
} else if (data.id == 'paste') { } else if (data.id == 'paste') {
var items = pandora.clipboard.paste(); var items = pandora.clipboard.paste();