optimize RPC forceUpdateAllFeeds response
This commit is contained in:
parent
9e63a58c20
commit
9826bd2ed9
10
tt-rss.js
10
tt-rss.js
|
@ -150,6 +150,16 @@ function scheduleFeedUpdate(force) {
|
||||||
query_str = query_str + "updateAllFeeds";
|
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)) {
|
if (xmlhttp_ready(xmlhttp)) {
|
||||||
xmlhttp.open("GET", query_str, true);
|
xmlhttp.open("GET", query_str, true);
|
||||||
xmlhttp.onreadystatechange=refetch_callback;
|
xmlhttp.onreadystatechange=refetch_callback;
|
||||||
|
|
Loading…
Reference in New Issue