1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:06:48 +00:00

rpc mark/pub return proper counters, rework all_counters_callback

This commit is contained in:
Andrew Dolgov
2007-08-20 13:58:11 +01:00
parent 2fe69e2292
commit 36e05046e0
3 changed files with 18 additions and 4 deletions

View File

@@ -782,11 +782,11 @@ function parse_counters_reply(xmlhttp, scheduled_call) {
return fatalError(error_code, error_msg);
}
var counters = reply.firstChild;
var counters = reply.getElementsByTagName("counters")[0];
parse_counters(counters, scheduled_call);
var runtime_info = counters.nextSibling;
var runtime_info = reply.getElementsByTagName("runtime-info")[0];
parse_runtime_info(runtime_info);