Browse Source

Close modal after upload

Tobias Reich 10 years ago
parent
commit
b7d68c84c7
2 changed files with 3 additions and 1 deletions
  1. 3 1
      assets/js/upload.js
  2. 0 0
      assets/min/main.js

+ 3 - 1
assets/js/upload.js

@@ -95,7 +95,7 @@ upload = {
 
 								$("#upload_files").val("");
 
-								//upload.close();
+								upload.close();
 
 								if (album.getID()===false) lychee.goto("0");
 								else album.load(albumID);
@@ -197,6 +197,8 @@ upload = {
 
 						upload.show("Importing URL", files);
 
+						//$(".upload_message .rows .row:nth-child(1) .status").html("Importing");
+
 						params = "importUrl&url=" + escape(encodeURI(link)) + "&albumID=" + albumID;
 						lychee.api(params, function(data) {
 

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