call parse_runtime_info from all_counters_callback
This commit is contained in:
parent
64a2875dcc
commit
1cb7492dc4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue