]> git.wh0rd.org Git - tt-rss.git/commitdiff
parse_counters: invalidate feed cache when counter had changed
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 14 Oct 2009 19:38:31 +0000 (23:38 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 14 Oct 2009 19:38:31 +0000 (23:38 +0400)
functions.js

index db2b4a8874a2f0ddae5460d84e8eaf6bf4122b2f..46d28ee7f3de278e1bfa770230b34f4675c75c0a 100644 (file)
@@ -567,6 +567,8 @@ function parse_counters(reply, scheduled_call) {
                                        if (row_needs_hl) { 
                                                new Effect.Highlight(feedr, {duration: 1, startcolor: "#fff7d5",
                                                        queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } );
+
+                                               cache_invalidate("F:" + id);
                                        }
                                } else {
                                        feedctr.className = "feedCtrNoUnread";