]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix wrong healines being loaded when using infinite scrolling in categories
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 05:21:57 +0000 (06:21 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 05:21:57 +0000 (06:21 +0100)
feedlist.js

index 7ca49005335393f9f7c4ae630f0934bdf967ca29..e3f654d2e1626970498c3f1b9e518217029c2b89 100644 (file)
@@ -21,9 +21,11 @@ function feedlist_callback2(transport) {
 
 function viewNextFeedPage() {
        try {
-               if (!getActiveFeedId()) return;
+               //if (!getActiveFeedId()) return;
 
-               viewfeed(getActiveFeedId(), undefined, undefined, undefined,
+               debug("viewNextFeedPage: calling viewfeed(), p: " + _feed_cur_page+1);
+
+               viewfeed(getActiveFeedId(), undefined, activeFeedIsCat(), undefined,
                        undefined, _feed_cur_page+1);
 
        } catch (e) {