Fixed some caching issues with duplicate and delete
This commit is contained in:
parent
582a8a3f93
commit
fe52b09694
@ -153,7 +153,12 @@ album = {
|
|||||||
delete albums.json.content[id];
|
delete albums.json.content[id];
|
||||||
});
|
});
|
||||||
|
|
||||||
} else lychee.goto("");
|
} else {
|
||||||
|
|
||||||
|
albums.refresh();
|
||||||
|
lychee.goto("");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (data!==true) lychee.error(null, params, data);
|
if (data!==true) lychee.error(null, params, data);
|
||||||
|
|
||||||
|
@ -154,6 +154,8 @@ photo = {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
albums.refresh();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
delete: function(photoIDs) {
|
delete: function(photoIDs) {
|
||||||
@ -206,6 +208,8 @@ photo = {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
albums.refresh();
|
||||||
|
|
||||||
}],
|
}],
|
||||||
["", function() {}]
|
["", function() {}]
|
||||||
];
|
];
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user