Compare commits

...

4 commits

Author SHA1 Message Date
j
0b8ea2d517 space 2019-07-22 11:11:42 +02:00
j
115f05625c ignore old migrations 2019-07-22 11:11:34 +02:00
j
33b105b9b8 avoid password autocompltee 2019-07-22 11:11:25 +02:00
j
f838a6be60 default to multiple videos 2019-07-22 11:11:04 +02:00
4 changed files with 14 additions and 10 deletions

View file

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

View file

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

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