mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 07:05:56 +00:00
optimize RPC forceUpdateAllFeeds response
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user