optimize RPC forceUpdateAllFeeds response
This commit is contained in:
parent
9e63a58c20
commit
9826bd2ed9
1 changed files with 10 additions and 0 deletions
10
tt-rss.js
10
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;
|
||||
|
|
Loading…
Reference in a new issue