numerous updates

This commit is contained in:
Ross
2022-05-20 20:26:02 +01:00
parent 0373b22e78
commit 77ccdbc92a
246 changed files with 22615 additions and 2409 deletions
+3 -3
View File
@@ -199,14 +199,14 @@ if (django.jQuery) {
window.location.reload();
}
},
error: function (file, errorText) {
error: function (file, error) {
updateUploadNumber();
if (errorText === 'duplicate') {
if (error === 'duplicate') {
return;
}
hasErrors = true;
if (window.filerShowError) {
window.filerShowError(file.name + ': ' + errorText);
window.filerShowError(file.name + ': ' + error.message);
}
}
});