diff options
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); + } +} |