summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-03-21 21:43:54 +0300
committerAndrew Dolgov <[email protected]>2016-03-21 21:43:54 +0300
commitdfaf806a7a7973ae1d45a6d39598f48de82f4c16 (patch)
tree6a2088ff00190bb3b6cfe55c46ae70c1ffe96b73 /js/feedlist.js
parent701de97ebb432d1b9feb66cb3f135b7726a27c24 (diff)
catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js24
1 files 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);
}