diff options
author | Andrew Dolgov <[email protected]> | 2009-02-02 15:24:32 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-02-02 15:24:32 +0300 |
commit | 9b7ecc0ac790c611965e6a2359a06f95b2bbc38c (patch) | |
tree | c728ff9980fbb579e3e991abdd40e41cc5d0ec30 /tt-rss.js | |
parent | 31234407bffa5debe79250e93a4168ea2251e094 (diff) |
update amount of subscribed feeds in runtime-info (to invalidate feedlist cache)
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) { |