Fixed a bug where photos were uploaded to the wrong album

This commit is contained in:
Tobias Reich 2014-05-27 10:17:46 +02:00
parent ba778998dd
commit bf7210de2a
2 changed files with 2 additions and 2 deletions

View File

@ -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