summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-08 05:53:59 +0100
committerAndrew Dolgov <[email protected]>2005-11-08 05:53:59 +0100
commit9826bd2ed96d5eb5ed21eb8f1e17bd1f763be374 (patch)
tree20d4dd31aa5df1f5c4b3910adee1349b32671184 /tt-rss.js
parent9e63a58c202d776145ca2c6ac594e67f7386fa31 (diff)
optimize RPC forceUpdateAllFeeds response
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index bbd7b6955..47ae4ca2b 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -150,6 +150,16 @@ function scheduleFeedUpdate(force) {
query_str = query_str + "updateAllFeeds";
}
+ var omode;
+
+ if (display_tags) {
+ omode = "t";
+ } else {
+ omode = "fl";
+ }
+
+ query_str = query_str + "&omode=" + omode;
+
if (xmlhttp_ready(xmlhttp)) {
xmlhttp.open("GET", query_str, true);
xmlhttp.onreadystatechange=refetch_callback;