Browse Source

Close upload on error

Tobias Reich 11 years ago
parent
commit
73e14c7a3a
2 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/js/lychee.js
  2. 0 0
      assets/min/main.js

+ 1 - 0
assets/js/lychee.js

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

File diff suppressed because it is too large
+ 0 - 0
assets/min/main.js


Some files were not shown because too many files changed in this diff