default to multiple videos

This commit is contained in:
j 2019-07-22 11:11:04 +02:00
parent 0076aae896
commit f838a6be60

View file

@ -117,6 +117,15 @@ pandora.ui.addFilesDialog = function(options) {
)
});
} else {
if (options.items.length > 1) {
selectItems.push({
id: 'multiple',
title: Ox._(
'Create multiple {0}',
[pandora.site.itemName.plural.toLowerCase()]
)
});
}
selectItems.push({
id: 'one',
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({
items: selectItems,
width: 256