update mainMenu
This commit is contained in:
parent
2582100c9e
commit
6379bb373b
1 changed files with 3 additions and 3 deletions
|
@ -426,9 +426,9 @@ pandora.ui.mainMenu = function() {
|
||||||
} else if (data.id == 'paste') {
|
} else if (data.id == 'paste') {
|
||||||
fromMenu = true;
|
fromMenu = true;
|
||||||
var items = pandora.clipboard.paste();
|
var items = pandora.clipboard.paste();
|
||||||
pandora.doHistory('paste', items, ui._list, function() {
|
pandora.doHistory('paste', items, ui.section == 'items' ? ui._list : ui.edit, function() {
|
||||||
pandora.UI.set({listSelection: items});
|
pandora.UI.set(ui.section == 'items' ? 'listSelection' : 'editSelection', items);
|
||||||
pandora.reloadList();
|
ui.section == 'items' && pandora.reloadList();
|
||||||
});
|
});
|
||||||
} else if (data.id == 'clearclipboard') {
|
} else if (data.id == 'clearclipboard') {
|
||||||
pandora.clipboard.clear();
|
pandora.clipboard.clear();
|
||||||
|
|
Loading…
Reference in a new issue