From 9826bd2ed96d5eb5ed21eb8f1e17bd1f763be374 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 8 Nov 2005 05:53:59 +0100 Subject: [PATCH] optimize RPC forceUpdateAllFeeds response --- tt-rss.js | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; -- 2.39.5