Close modal after upload

This commit is contained in:
Tobias Reich 2014-07-18 17:27:45 +02:00
parent 26c3cc9104
commit b7d68c84c7
2 changed files with 4 additions and 2 deletions

View File

@ -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 one or more lines are too long