1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

optimize RPC forceUpdateAllFeeds response

This commit is contained in:
Andrew Dolgov 2005-11-08 05:53:59 +01:00
parent 9e63a58c20
commit 9826bd2ed9

View File

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