From: Andrew Dolgov Date: Mon, 2 Feb 2009 13:29:41 +0000 (+0300) Subject: parse_counters: cache feedlist after update X-Git-Tag: 1.3.1~136 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4f7743a938872b9da87398091b17b69dad9854b4;p=tt-rss.git parse_counters: cache feedlist after update --- diff --git a/functions.js b/functions.js index 2c09be16..6cff3eac 100644 --- a/functions.js +++ b/functions.js @@ -578,6 +578,11 @@ function parse_counters(reply, scheduled_call) { debug("Subscribed feed number changed, refreshing feedlist"); setTimeout('updateFeedList(false, false)', 50); } + } else { + cache_invalidate("FEEDLIST"); + cache_inject("FEEDLIST", + document.getElementById("feedList").innerHTML, + getInitParam("num_feeds")); } } catch (e) {