mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 07:05:56 +00:00
call parse_runtime_info from all_counters_callback
This commit is contained in:
@@ -568,11 +568,19 @@ function all_counters_callback() {
|
||||
return;
|
||||
}
|
||||
|
||||
debug("in all_counters_callback");
|
||||
|
||||
var reply = xmlhttp_rpc.responseXML.firstChild;
|
||||
|
||||
var counters = reply.firstChild;
|
||||
|
||||
parse_counters(counters);
|
||||
|
||||
var runtime = counters.nextSibling;
|
||||
|
||||
if (runtime) {
|
||||
getMainContext().parse_runtime_info(runtime);
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("all_counters_callback", e);
|
||||
|
||||
@@ -522,10 +522,14 @@ function toggleDispRead() {
|
||||
function parse_runtime_info(elem) {
|
||||
var param = elem.firstChild;
|
||||
|
||||
debug("parse_runtime_info");
|
||||
|
||||
while (param) {
|
||||
var k = param.getAttribute("key");
|
||||
var v = param.getAttribute("value");
|
||||
|
||||
debug("RI: " + k + " => " + v);
|
||||
|
||||
var w = document.getElementById("noDaemonWarning");
|
||||
|
||||
if (w) {
|
||||
|
||||
Reference in New Issue
Block a user