|
|
|
@ -344,18 +344,8 @@ if (!xmlhttp_rpc && typeof XMLHttpRequest!='undefined') {
|
|
|
|
|
xmlhttp_rpc = new XMLHttpRequest();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function all_counters_callback() {
|
|
|
|
|
if (xmlhttp_rpc.readyState == 4) {
|
|
|
|
|
function parse_counters(reply, f_document) {
|
|
|
|
|
try {
|
|
|
|
|
if (!xmlhttp_rpc.responseXML || !xmlhttp_rpc.responseXML.firstChild) {
|
|
|
|
|
notify("[all_counters_callback] backend did not return valid XML");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var reply = xmlhttp_rpc.responseXML.firstChild;
|
|
|
|
|
|
|
|
|
|
var f_document = parent.frames["feeds-frame"].document;
|
|
|
|
|
|
|
|
|
|
for (var l = 0; l < reply.childNodes.length; l++) {
|
|
|
|
|
var id = reply.childNodes[l].getAttribute("id");
|
|
|
|
|
var t = reply.childNodes[l].getAttribute("type");
|
|
|
|
@ -404,6 +394,24 @@ function all_counters_callback() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (e) {
|
|
|
|
|
exception_error(e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function all_counters_callback() {
|
|
|
|
|
if (xmlhttp_rpc.readyState == 4) {
|
|
|
|
|
try {
|
|
|
|
|
if (!xmlhttp_rpc.responseXML || !xmlhttp_rpc.responseXML.firstChild) {
|
|
|
|
|
notify("[all_counters_callback] backend did not return valid XML");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var reply = xmlhttp_rpc.responseXML.firstChild;
|
|
|
|
|
var f_document = parent.frames["feeds-frame"].document;
|
|
|
|
|
|
|
|
|
|
parse_counters(reply, f_document);
|
|
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
exception_error("all_counters_callback", e);
|
|
|
|
|
}
|
|
|
|
|