]> git.wh0rd.org Git - tt-rss.git/commitdiff
optimize RPC forceUpdateAllFeeds response
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 8 Nov 2005 04:53:59 +0000 (05:53 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 8 Nov 2005 04:53:59 +0000 (05:53 +0100)
tt-rss.js

index bbd7b6955112820ba90f676c62ba15393c07596f..47ae4ca2b10c8dc9b316e6afefe2e4d34c4217e0 100644 (file)
--- 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;