Fixed a bug where photos were uploaded to the wrong album
This commit is contained in:
parent
ba778998dd
commit
bf7210de2a
@ -63,7 +63,7 @@ upload = {
|
||||
progress;
|
||||
|
||||
if (files.length<=0) return false;
|
||||
if (albumID===false) albumID = 0;
|
||||
if (albumID===false||visible.albums()===true) albumID = 0;
|
||||
|
||||
formData.append("function", "upload");
|
||||
formData.append("albumID", albumID);
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user