catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed

This commit is contained in:
Andrew Dolgov 2016-03-21 21:43:54 +03:00
parent 701de97ebb
commit dfaf806a7a
1 changed files with 15 additions and 15 deletions

View File

@ -450,27 +450,27 @@ 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";
console.log(catchup_query);
notify_progress("Loading, please wait...", true);
new Ajax.Request("backend.php", {
parameters: catchup_query,
onComplete: function (transport) {
handle_rpc_json(transport);
}
} );
}
var catchup_query = "?op=rpc&method=catchupFeed&feed_id=" +
id + "&is_cat=false";
console.log(catchup_query);
notify_progress("Loading, please wait...", true);
new Ajax.Request("backend.php", {
parameters: catchup_query,
onComplete: function (transport) {
handle_rpc_json(transport);
}
} );
//return viewCurrentFeed('MarkAllReadGR:' + id);
}