remove label headlines from cache when articles are being assigned to it

This commit is contained in:
Andrew Dolgov 2009-01-18 11:25:06 +01:00
parent 4d23f96e95
commit 898e85628b
1 changed files with 4 additions and 0 deletions

View File

@ -869,6 +869,8 @@ function selectionRemoveLabel(id) {
// notify_progress("Loading, please wait...");
cache_invalidate("F:" + (-11 - id));
new Ajax.Request(query, {
onComplete: function(transport) {
viewCurrentFeed();
@ -896,6 +898,8 @@ function selectionAssignLabel(id) {
if (ok) {
cache_invalidate("F:" + (-11 - id));
var query = "backend.php?op=rpc&subop=assignToLabel&ids=" +
param_escape(ids.toString()) + "&lid=" + param_escape(id);