1
0
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:
Andrew Dolgov
2010-11-10 19:18:13 +03:00
parent 3d28f9cd2d
commit 773adf8b42
2 changed files with 4 additions and 17 deletions

View File

@@ -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,