]> git.wh0rd.org Git - tt-rss.git/commitdiff
view: fix article not being marked as read when not requested from client cache
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 3 Aug 2011 08:32:30 +0000 (12:32 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 3 Aug 2011 08:32:30 +0000 (12:32 +0400)
backend.php
viewfeed.js

index 29903843495636e52e962ae63fa91facbf6fc0a5..d2c68a64f7d7a5bb846b40894f70f9992576f417 100644 (file)
                                $article = format_article($link, $id, false);
                                print $article['content'];
                                return;
-                       } else {
-                               catchupArticleById($link, $id, 0);
                        }
 
+                       catchupArticleById($link, $id, 0);
+
                        if (!$_SESSION["bw_limit"]) {
                                foreach ($cids as $cid) {
                                        if ($cid) {
index fd188797674f08b310f1dac4ae09fe3d0440c529..2ffad4a3d72e63e606f6ff6dc7de13025efd8022 100644 (file)
@@ -324,6 +324,8 @@ function view(id) {
 
                last_requested_article = id;
 
+               console.log(query);
+
                new Ajax.Request("backend.php", {
                        parameters: query,
                        onComplete: function(transport) {