Close modal after upload
This commit is contained in:
parent
26c3cc9104
commit
b7d68c84c7
@ -95,7 +95,7 @@ upload = {
|
|||||||
|
|
||||||
$("#upload_files").val("");
|
$("#upload_files").val("");
|
||||||
|
|
||||||
//upload.close();
|
upload.close();
|
||||||
|
|
||||||
if (album.getID()===false) lychee.goto("0");
|
if (album.getID()===false) lychee.goto("0");
|
||||||
else album.load(albumID);
|
else album.load(albumID);
|
||||||
@ -197,6 +197,8 @@ upload = {
|
|||||||
|
|
||||||
upload.show("Importing URL", files);
|
upload.show("Importing URL", files);
|
||||||
|
|
||||||
|
//$(".upload_message .rows .row:nth-child(1) .status").html("Importing");
|
||||||
|
|
||||||
params = "importUrl&url=" + escape(encodeURI(link)) + "&albumID=" + albumID;
|
params = "importUrl&url=" + escape(encodeURI(link)) + "&albumID=" + albumID;
|
||||||
lychee.api(params, function(data) {
|
lychee.api(params, function(data) {
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user