Close upload on error

This commit is contained in:
Tobias Reich 2014-04-12 16:42:06 +02:00
parent c9e7954446
commit 73e14c7a3a
2 changed files with 2 additions and 1 deletions

View File

@ -88,6 +88,7 @@ var lychee = {
if (typeof data==="string"&&data.substring(0, 7)==="Error: ") { if (typeof data==="string"&&data.substring(0, 7)==="Error: ") {
lychee.error(data.substring(7, data.length), params, data); lychee.error(data.substring(7, data.length), params, data);
upload.close(true);
return false; return false;
} }

File diff suppressed because one or more lines are too long