fix auto-refresh of active feed when update detected in scheduled refetch call

This commit is contained in:
Andrew Dolgov 2006-12-06 09:59:59 +01:00
parent 5854573ad3
commit 3ac2f3c767
2 changed files with 3 additions and 3 deletions

View 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) { if (!xmlhttp.responseXML) {
notify("refetch_callback: backend did not return valid XML", true, true); notify("refetch_callback: backend did not return valid XML", true, true);
@ -648,7 +648,7 @@ function parse_counters_reply(xmlhttp) {
var counters = reply.firstChild; var counters = reply.firstChild;
parse_counters(counters, true); parse_counters(counters, scheduled_call);
var runtime_info = counters.nextSibling; var runtime_info = counters.nextSibling;

View File

@ -62,7 +62,7 @@ function refetch_callback() {
last_refetch = date.getTime() / 1000; last_refetch = date.getTime() / 1000;
parse_counters_reply(xmlhttp_ctr); parse_counters_reply(xmlhttp_ctr, true);
debug("refetch_callback: done"); debug("refetch_callback: done");