Commit 2021f850 authored by Tobias Reich's avatar Tobias Reich
Browse files

Skip upload of unsupported files

parent cf3eda60
......@@ -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,
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment