Compare commits

..

No commits in common. "0b8ea2d517e694dd7fce9aa8ca973daac37bc7a9" and "0076aae8968c937017cabceb7d748f13c13681a5" have entirely different histories.

4 changed files with 10 additions and 14 deletions

View file

@ -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

View file

@ -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});

View file

@ -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()

View file

@ -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: