From: Andrew Dolgov Date: Wed, 6 Dec 2006 08:59:59 +0000 (+0100) Subject: fix auto-refresh of active feed when update detected in scheduled refetch call X-Git-Tag: 1.2.6~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3ac2f3c76716e93de91b9f17786fe235905b2c1d;p=tt-rss.git fix auto-refresh of active feed when update detected in scheduled refetch call --- diff --git a/functions.js b/functions.js index 3fa3d5e5..c3158e34 100644 --- a/functions.js +++ b/functions.js @@ -613,7 +613,7 @@ function parse_counters(reply, scheduled_call) { } } -function parse_counters_reply(xmlhttp) { +function parse_counters_reply(xmlhttp, scheduled_call) { if (!xmlhttp.responseXML) { notify("refetch_callback: backend did not return valid XML", true, true); @@ -648,7 +648,7 @@ function parse_counters_reply(xmlhttp) { var counters = reply.firstChild; - parse_counters(counters, true); + parse_counters(counters, scheduled_call); var runtime_info = counters.nextSibling; diff --git a/tt-rss.js b/tt-rss.js index 07734bac..1257f996 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -62,7 +62,7 @@ function refetch_callback() { last_refetch = date.getTime() / 1000; - parse_counters_reply(xmlhttp_ctr); + parse_counters_reply(xmlhttp_ctr, true); debug("refetch_callback: done");