Close upload on error

This commit is contained in:
Tobias Reich 2014-03-16 13:17:29 +01:00
parent c21bc2c8b0
commit d06c04ffe8
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -102,6 +102,7 @@ var lychee = {
error: function(jqXHR, textStatus, errorThrown) {
lychee.error("Server error or API not found.", params, errorThrown);
upload.close(true);
}
});