optimize RPC forceUpdateAllFeeds response

This commit is contained in:
Andrew Dolgov 2005-11-08 05:53:59 +01:00
parent 9e63a58c20
commit 9826bd2ed9
1 changed files with 10 additions and 0 deletions

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;