diff options
author | Andrew Dolgov <[email protected]> | 2012-10-25 13:15:14 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-10-25 13:15:14 +0400 |
commit | c0c2abbaa73363a1349e41ec08cd54a0d1e8ad8e (patch) | |
tree | d9dc8891e5d0d39ed88aebf7a9058de6f8bae8f8 /js/tt-rss.js | |
parent | 56b2a4095b9d819609cffe50306803a215401f16 (diff) |
force refetch feed when clicking update/clicking on same feed in the tree
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 4c53d9e17..f83ba3777 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -1040,45 +1040,6 @@ function reverseHeadlineOrder() { } } -function scheduleFeedUpdate(id, is_cat) { - try { - if (!id) { - id = getActiveFeedId(); - is_cat = activeFeedIsCat(); - } - - if (!id) { - alert(__("Please select some feed first.")); - return; - } - - var query = "?op=rpc&method=scheduleFeedUpdate&id=" + - param_escape(id) + - "&is_cat=" + param_escape(is_cat); - - console.log(query); - - new Ajax.Request("backend.php", { - parameters: query, - onComplete: function(transport) { - handle_rpc_json(transport); - - var reply = JSON.parse(transport.responseText); - var message = reply['message']; - - if (message) { - notify_info(message); - return; - } - - } }); - - - } catch (e) { - exception_error("scheduleFeedUpdate", e); - } -} - function newVersionDlg() { try { var query = "backend.php?op=dlg&method=newVersion"; |