From dfaf806a7a7973ae1d45a6d39598f48de82f4c16 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Mar 2016 21:43:54 +0300 Subject: catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed --- js/feedlist.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/js/feedlist.js b/js/feedlist.js index 8a6bb3838..08c541224 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -450,26 +450,26 @@ function catchupFeedInGroup(id) { if (rows.length > 0) { - rows.each(function(row) { + rows.each(function (row) { row.removeClassName("Unread"); }); updateFloatingTitle(true); + } - var catchup_query = "?op=rpc&method=catchupFeed&feed_id=" + - id + "&is_cat=false"; + var catchup_query = "?op=rpc&method=catchupFeed&feed_id=" + + id + "&is_cat=false"; - console.log(catchup_query); + console.log(catchup_query); - notify_progress("Loading, please wait...", true); + notify_progress("Loading, please wait...", true); - new Ajax.Request("backend.php", { - parameters: catchup_query, - onComplete: function (transport) { - handle_rpc_json(transport); - } - } ); - } + new Ajax.Request("backend.php", { + parameters: catchup_query, + onComplete: function (transport) { + handle_rpc_json(transport); + } + } ); //return viewCurrentFeed('MarkAllReadGR:' + id); } -- cgit v1.2.3