Skip upload of unsupported files

This commit is contained in:
Tobias Reich 2014-07-26 16:31:38 +02:00
parent cf3eda60f8
commit 2021f850c4
2 changed files with 9 additions and 1 deletions

View File

@ -58,6 +58,14 @@ upload = {
var albumID = album.getID(),
process = function(files, file) {
if (file.supported===false) {
// Skip file
if (file.next!==null) process(files, file.next);
return false;
}
var formData = new FormData(),
xhr = new XMLHttpRequest(),
pre_progress = 0,

File diff suppressed because one or more lines are too long