mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 09:55:56 +00:00
unify backend methods updateAllFeeds and getAllCounters
This commit is contained in:
@@ -94,9 +94,9 @@ function dlg_frefresh_callback(transport, deleted_feed) {
|
||||
|
||||
function scheduleFeedUpdate() {
|
||||
|
||||
console.log("in scheduleFeedUpdate");
|
||||
window.clearTimeout(counter_timeout_id);
|
||||
|
||||
var query_str = "backend.php?op=rpc&subop=updateAllFeeds";
|
||||
var query_str = "backend.php?op=rpc&subop=getAllCounters";
|
||||
|
||||
var omode;
|
||||
|
||||
@@ -114,7 +114,7 @@ function scheduleFeedUpdate() {
|
||||
query_str = query_str + "&omode=" + omode;
|
||||
query_str = query_str + "&uctr=" + global_unread;
|
||||
|
||||
console.log("REFETCH query: " + query_str);
|
||||
console.log("[scheduleFeedUpdate] " + query_str);
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query_str,
|
||||
|
||||
Reference in New Issue
Block a user