mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-30 19:11:28 +00:00
add mark as read to feedlist popup menu
This commit is contained in:
19
feedlist.js
19
feedlist.js
@@ -457,3 +457,22 @@ function getNextUnreadFeed(feed, is_cat) {
|
||||
}
|
||||
}
|
||||
|
||||
function catchupFeed(feed, is_cat) {
|
||||
try {
|
||||
|
||||
var catchup_query = "?op=rpc&subop=catchupFeed&feed_id=" +
|
||||
feed + "&is_cat=" + is_cat;
|
||||
|
||||
notify_progress("Loading, please wait...", true);
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: catchup_query,
|
||||
onComplete: function(transport) {
|
||||
handle_rpc_json(transport);
|
||||
notify("");
|
||||
} });
|
||||
|
||||
} catch (e) {
|
||||
exception_error("catchupFeed", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user