]> git.wh0rd.org Git - tt-rss.git/commitdiff
block feedlist updates when counters don't return number of subscribed-feeds
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 20 Aug 2007 12:49:38 +0000 (13:49 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 20 Aug 2007 12:49:38 +0000 (13:49 +0100)
functions.js

index 23cdecf75ecac82c001df89e83af43269f3c2dce..041311dfa484a7044367de153dc74f3807ec608b 100644 (file)
@@ -738,7 +738,7 @@ function parse_counters(reply, scheduled_call) {
                if (feeds_stored != feeds_found) {
                        number_of_feeds = feeds_found;
 
-                       if (feeds_stored != 0) {
+                       if (feeds_stored != 0 && feeds_found != 0) {
                                debug("Subscribed feed number changed, refreshing feedlist");
                                setTimeout('updateFeedList(false, false)', 50);
                        }