]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix auto-refresh of active feed when update detected in scheduled refetch call
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 6 Dec 2006 08:59:59 +0000 (09:59 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 6 Dec 2006 08:59:59 +0000 (09:59 +0100)
functions.js
tt-rss.js

index 3fa3d5e5332dacddf61d89425ad9d5ab6e9403cc..c3158e34e228996d6d36944388d0b1d87ab99eb8 100644 (file)
@@ -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;
 
index 07734bacc1695c97ae36dccdcaef88c71888cce5..1257f996ba27745756dbe989dce44160ef95ceb6 100644 (file)
--- 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");