Fixed some caching issues with duplicate and delete

This commit is contained in:
Tobias Reich 2014-09-17 23:25:12 +02:00
parent 582a8a3f93
commit fe52b09694
3 changed files with 12 additions and 3 deletions

View File

@ -153,7 +153,12 @@ album = {
delete albums.json.content[id];
});
} else lychee.goto("");
} else {
albums.refresh();
lychee.goto("");
}
if (data!==true) lychee.error(null, params, data);

View File

@ -154,6 +154,8 @@ photo = {
});
albums.refresh();
},
delete: function(photoIDs) {
@ -206,6 +208,8 @@ photo = {
});
albums.refresh();
}],
["", function() {}]
];

File diff suppressed because one or more lines are too long