summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-18 11:25:06 +0100
committerAndrew Dolgov <[email protected]>2009-01-18 11:25:06 +0100
commit898e85628b8774b81f241004e440a3d754b111af (patch)
treebcab0344ac83bc64f7d72fb970db47077b0d2f67 /viewfeed.js
parent4d23f96e95c83473c0960e1e85c9e4d3159d503b (diff)
remove label headlines from cache when articles are being assigned to it
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index a11638936..5251eeb5d 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);