diff --git a/static/js/addFilesDialog.js b/static/js/addFilesDialog.js index e718b218..75bdca18 100644 --- a/static/js/addFilesDialog.js +++ b/static/js/addFilesDialog.js @@ -117,15 +117,6 @@ 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._( @@ -134,6 +125,15 @@ 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 diff --git a/static/js/preferencesDialog.js b/static/js/preferencesDialog.js index 70af78f2..aa74d003 100644 --- a/static/js/preferencesDialog.js +++ b/static/js/preferencesDialog.js @@ -47,9 +47,6 @@ pandora.ui.preferencesDialog = function() { validate: pandora.validateNewPassword, width: 320 }) - .attr({ - autocomplete: 'new-password' - }) .bindEvent({ validate: function(data) { data.valid && pandora.api.editPreferences({password: data.value}); diff --git a/static/js/utils.js b/static/js/utils.js index 79ab43d8..8bb3a9dc 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -406,7 +406,7 @@ pandora.createLinks = function($element) { pandora.uploadDroppedFiles = function(files) { var documentExtensions = ['pdf', /* 'epub', 'txt', */ 'png', 'gif', 'jpg']; - files = Ox.map(files, function(file) { return file }); + files = Ox.map(files, function(file) { return file}); if (files.every(function(file) { var extension = file.name.split('.').pop().toLowerCase() diff --git a/update.py b/update.py index 119f9adb..41283454 100755 --- a/update.py +++ b/update.py @@ -332,7 +332,6 @@ if __name__ == "__main__": '-- Model missing for table: djcelery_intervalschedule\n', '-- Model missing for table: djcelery_workerstate\n', '-- Model missing for table: djcelery_taskstate\n', - '-- Model missing for table: south_migrationhistory\n', '-- Model missing for table: cache\n', ]: if row in diff: