From f838a6be6070e872a8e960f0b6f12c8078edd1de Mon Sep 17 00:00:00 2001 From: j Date: Mon, 22 Jul 2019 11:11:04 +0200 Subject: [PATCH] default to multiple videos --- static/js/addFilesDialog.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/static/js/addFilesDialog.js b/static/js/addFilesDialog.js index 75bdca187..e718b2183 100644 --- a/static/js/addFilesDialog.js +++ b/static/js/addFilesDialog.js @@ -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