Skip upload of unsupported files
This commit is contained in:
parent
cf3eda60f8
commit
2021f850c4
@ -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
Loading…
Reference in New Issue
Block a user