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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user