From: Andrew Dolgov Date: Sun, 16 Oct 2005 15:46:37 +0000 (+0100) Subject: fix broken feed counter updates X-Git-Tag: 1.0.7~43 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9cab3250d6d1f88bc22a06865dd63680d43d30ff;p=tt-rss.git fix broken feed counter updates --- diff --git a/functions.js b/functions.js index 5bf5e697..77be7d40 100644 --- a/functions.js +++ b/functions.js @@ -308,7 +308,7 @@ if (!xmlhttp_rpc && typeof XMLHttpRequest!='undefined') { function label_counters_callback() { if (xmlhttp_rpc.readyState == 4) { - if (!xmlhttp.responseXML) { + if (!xmlhttp_rpc.responseXML) { notify("label_counters_callback: backend did not return valid XML"); return; } diff --git a/tt-rss.js b/tt-rss.js index 35b7c9fb..919b0bd4 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -80,7 +80,7 @@ function refetch_callback() { if (!reply) { notify("refetch_callback: backend did not return expected XML object"); return; - } + } var f_document = window.frames["feeds-frame"].document;