parse_counters: cache feedlist after update

This commit is contained in:
Andrew Dolgov 2009-02-02 16:29:41 +03:00
parent 6dbba9be8a
commit 4f7743a938
1 changed files with 5 additions and 0 deletions

View File

@ -578,6 +578,11 @@ function parse_counters(reply, scheduled_call) {
debug("Subscribed feed number changed, refreshing feedlist"); debug("Subscribed feed number changed, refreshing feedlist");
setTimeout('updateFeedList(false, false)', 50); setTimeout('updateFeedList(false, false)', 50);
} }
} else {
cache_invalidate("FEEDLIST");
cache_inject("FEEDLIST",
document.getElementById("feedList").innerHTML,
getInitParam("num_feeds"));
} }
} catch (e) { } catch (e) {