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 diff --git a/static/js/preferencesDialog.js b/static/js/preferencesDialog.js index aa74d003..70af78f2 100644 --- a/static/js/preferencesDialog.js +++ b/static/js/preferencesDialog.js @@ -47,6 +47,9 @@ 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 8bb3a9dc..79ab43d8 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 41283454..119f9adb 100755 --- a/update.py +++ b/update.py @@ -332,6 +332,7 @@ 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: