Commit 64a9d7ab authored by Tobias Reich's avatar Tobias Reich
Browse files

Fixed incorrect info about password in infobox

parent 8974b7c2
......@@ -308,10 +308,10 @@ album = {
if ($(".message .choice input[name='password']:checked").val()==="password") {
password = md5($(".message input.text").val());
album.json.password = true;
album.json.password = 1;
} else {
password = "";
album.json.password = false;
album.json.password = 0;
}
if ($(".message .choice input[name='listed']:checked").val()==="listed") listed = true;
......@@ -323,8 +323,11 @@ album = {
if (visible.album()) {
album.json.public = (album.json.public==0) ? 1 : 0;
album.json.password = (album.json.public==0) ? 0 : album.json.password;
view.album.public();
view.album.password();
if (album.json.public==1) contextMenu.shareAlbum(albumID, e);
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment