diff options
author | Andrew Dolgov <[email protected]> | 2011-11-11 15:28:11 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-11 15:28:11 +0400 |
commit | e3d2c029a6bf929fe3506d14bd1bcee3a4dcddf0 (patch) | |
tree | 1de653199faaed5348a21b42e0fb625b41071a0f /feedlist.js | |
parent | 755c8f95ef030fc4676a0e9fee14eb47b31f2219 (diff) |
add mark as read to feedlist popup menu
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js index 1c2adc887..dacef5c22 100644 --- a/feedlist.js +++ b/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); + } +} |