forked from 0x2620/pandora
default to multiple videos
This commit is contained in:
parent
0076aae896
commit
f838a6be60
1 changed files with 9 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue