From: Andrew Dolgov Date: Tue, 8 Nov 2005 04:53:59 +0000 (+0100) Subject: optimize RPC forceUpdateAllFeeds response X-Git-Tag: 1.0.7~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9826bd2ed96d5eb5ed21eb8f1e17bd1f763be374;p=tt-rss.git optimize RPC forceUpdateAllFeeds response --- diff --git a/tt-rss.js b/tt-rss.js index bbd7b695..47ae4ca2 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;