default to multiple videos
This commit is contained in:
parent
0076aae896
commit
f838a6be60
1 changed files with 9 additions and 9 deletions
|
@ -117,6 +117,15 @@ pandora.ui.addFilesDialog = function(options) {
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
if (options.items.length > 1) {
|
||||||
|
selectItems.push({
|
||||||
|
id: 'multiple',
|
||||||
|
title: Ox._(
|
||||||
|
'Create multiple {0}',
|
||||||
|
[pandora.site.itemName.plural.toLowerCase()]
|
||||||
|
)
|
||||||
|
});
|
||||||
|
}
|
||||||
selectItems.push({
|
selectItems.push({
|
||||||
id: 'one',
|
id: 'one',
|
||||||
title: Ox._(
|
title: Ox._(
|
||||||
|
@ -125,15 +134,6 @@ pandora.ui.addFilesDialog = function(options) {
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (options.items.length > 1) {
|
|
||||||
selectItems.push({
|
|
||||||
id: 'multiple',
|
|
||||||
title: Ox._(
|
|
||||||
'Create multiple {0}',
|
|
||||||
[pandora.site.itemName.plural.toLowerCase()]
|
|
||||||
)
|
|
||||||
});
|
|
||||||
}
|
|
||||||
var $select = Ox.Select({
|
var $select = Ox.Select({
|
||||||
items: selectItems,
|
items: selectItems,
|
||||||
width: 256
|
width: 256
|
||||||
|
|
Loading…
Reference in a new issue