Fixed a bug where a newly created album does not show in the albums pane because of the old cache copy

pull/232/head
Roman 10 years ago
parent 5948bf4f93
commit 1671517f41

@ -113,7 +113,10 @@ album = {
if (data===true) data = 1; // Avoid first album to be true
if (data!==false&&isNumber(data)) lychee.goto(data);
if (data!==false&&isNumber(data)) {
albums.refresh();
lychee.goto(data);
}
else lychee.error(null, params, data);
});

@ -256,7 +256,10 @@ album = {
if (data===true) data = 1; // Avoid first album to be true
if (data!==false&&isNumber(data)) lychee.goto(data);
if (data!==false&&isNumber(data)) {
albums.refresh();
lychee.goto(data);
}
else lychee.error(null, params, data);
});

Loading…
Cancel
Save