summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-11 15:28:11 +0400
committerAndrew Dolgov <[email protected]>2011-11-11 15:28:11 +0400
commite3d2c029a6bf929fe3506d14bd1bcee3a4dcddf0 (patch)
tree1de653199faaed5348a21b42e0fb625b41071a0f /feedlist.js
parent755c8f95ef030fc4676a0e9fee14eb47b31f2219 (diff)
add mark as read to feedlist popup menu
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js19
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);
+ }
+}