diff --git a/static/js/addFilesDialog.js b/static/js/addFilesDialog.js index 75bdca18..e718b218 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