From: Andrew Dolgov Date: Mon, 21 Mar 2016 18:43:54 +0000 (+0300) Subject: catchupFeedInGroup: send catchup request even if there are no unread articles in... X-Git-Tag: 16.3~15 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=dfaf806a7a7973ae1d45a6d39598f48de82f4c16 catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed --- diff --git a/js/feedlist.js b/js/feedlist.js index 8a6bb383..08c54122 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); }