From 3ac2f3c76716e93de91b9f17786fe235905b2c1d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 6 Dec 2006 09:59:59 +0100 Subject: [PATCH] fix auto-refresh of active feed when update detected in scheduled refetch call --- functions.js | 4 ++-- tt-rss.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); -- 2.39.5