]> git.wh0rd.org - tt-rss.git/commitdiff
fix broken feed counter updates
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 16 Oct 2005 15:46:37 +0000 (16:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 16 Oct 2005 15:46:37 +0000 (16:46 +0100)
functions.js
tt-rss.js

index 5bf5e6973c102f8c960e20bb5942326e7a677306..77be7d407a3b8b6f97abc8d84df96cf912fc6247 100644 (file)
@@ -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;
                }
index 35b7c9fbe5672ceff4d3c8efd4330f9a6925bdcc..919b0bd458a87c52f8f91bf948738465f9660e42 100644 (file)
--- 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;