avoid people accidentally adding itesm to current video
This commit is contained in:
parent
e7ede6ade0
commit
9e6ecb5459
1 changed files with 7 additions and 7 deletions
|
@ -106,6 +106,13 @@ pandora.ui.addFilesDialog = function(options) {
|
|||
});
|
||||
|
||||
var selectItems = [];
|
||||
selectItems.push({
|
||||
id: 'one',
|
||||
title: Ox._(
|
||||
options.items.length > 1 ? 'Create new {0} with multiple parts' : 'Create new {0}',
|
||||
[pandora.site.itemName.singular.toLowerCase()]
|
||||
)
|
||||
});
|
||||
if (pandora.user.ui.item && options.editable) {
|
||||
selectItems.push({
|
||||
id: 'add',
|
||||
|
@ -124,13 +131,6 @@ pandora.ui.addFilesDialog = function(options) {
|
|||
)
|
||||
});
|
||||
}
|
||||
selectItems.push({
|
||||
id: 'one',
|
||||
title: Ox._(
|
||||
options.items.length > 1 ? 'Create new {0} with multiple parts' : 'Create new {0}',
|
||||
[pandora.site.itemName.singular.toLowerCase()]
|
||||
)
|
||||
});
|
||||
var $select = Ox.Select({
|
||||
items: selectItems,
|
||||
width: 256
|
||||
|
|
Loading…
Reference in a new issue