From 898e85628b8774b81f241004e440a3d754b111af Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 11:25:06 +0100 Subject: [PATCH] remove label headlines from cache when articles are being assigned to it --- viewfeed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/viewfeed.js b/viewfeed.js index a1163893..5251eeb5 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -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); -- 2.39.5