Close upload on error
This commit is contained in:
parent
c21bc2c8b0
commit
d06c04ffe8
File diff suppressed because one or more lines are too long
@ -102,6 +102,7 @@ var lychee = {
|
|||||||
error: function(jqXHR, textStatus, errorThrown) {
|
error: function(jqXHR, textStatus, errorThrown) {
|
||||||
|
|
||||||
lychee.error("Server error or API not found.", params, errorThrown);
|
lychee.error("Server error or API not found.", params, errorThrown);
|
||||||
|
upload.close(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user