1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:16:03 +00:00

update amount of subscribed feeds in runtime-info (to invalidate feedlist cache)

This commit is contained in:
Andrew Dolgov
2009-02-02 15:24:32 +03:00
parent 31234407bf
commit 9b7ecc0ac7
3 changed files with 22 additions and 2 deletions

View File

@@ -510,7 +510,7 @@ function init_second_stage() {
daemon_refresh_only = getInitParam("daemon_refresh_only") == 1;
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
var fl = cache_find("FEEDLIST");
var fl = cache_find_param("FEEDLIST", getInitParam("num_feeds"));
if (fl) {
render_feedlist(fl);
@@ -737,6 +737,10 @@ function parse_runtime_info(elem) {
debug("RI: " + k + " => " + v);
if (k == "num_feeds") {
init_params[k] = v;
}
if (k == "new_version_available") {
var icon = document.getElementById("newVersionIcon");
if (icon) {