From 4f7743a938872b9da87398091b17b69dad9854b4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 2 Feb 2009 16:29:41 +0300 Subject: [PATCH] parse_counters: cache feedlist after update --- functions.js | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.39.5