summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.js8
-rw-r--r--tt-rss.js4
2 files changed, 12 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index f7e298888..59684b023 100644
--- a/functions.js
+++ b/functions.js
@@ -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);
diff --git a/tt-rss.js b/tt-rss.js
index 9e6d70c73..bbe91ee03 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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) {