update list menu
This commit is contained in:
parent
2dd0fae7d9
commit
0937c4779a
1 changed files with 2 additions and 2 deletions
|
@ -376,7 +376,7 @@ pandora.ui.mainMenu = function() {
|
||||||
pandora.addList(data.id.indexOf('smart') > -1, data.id.indexOf('from') > -1);
|
pandora.addList(data.id.indexOf('smart') > -1, data.id.indexOf('from') > -1);
|
||||||
}
|
}
|
||||||
} else if (Ox.contains(['neweditfromselection', 'newsmarteditfromresults'], data.id)) {
|
} 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') {
|
} else if (data.id == 'newpdf') {
|
||||||
pandora.addText({type: 'pdf'});
|
pandora.addText({type: 'pdf'});
|
||||||
} else if (data.id == 'duplicatelist') {
|
} else if (data.id == 'duplicatelist') {
|
||||||
|
@ -737,7 +737,7 @@ pandora.ui.mainMenu = function() {
|
||||||
pandora_listselection: function(data) {
|
pandora_listselection: function(data) {
|
||||||
var action = data.value.length ? 'enableItem' : 'disableItem';
|
var action = data.value.length ? 'enableItem' : 'disableItem';
|
||||||
that[action]('newlistfromselection');
|
that[action]('newlistfromselection');
|
||||||
if (ui.section == 'items') {
|
if (ui.section == 'items' && pandora.isClipView()) {
|
||||||
that[action]('neweditfromselection');
|
that[action]('neweditfromselection');
|
||||||
}
|
}
|
||||||
that.replaceMenu('itemMenu', getItemMenu());
|
that.replaceMenu('itemMenu', getItemMenu());
|
||||||
|
|
Loading…
Reference in a new issue