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