mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 02:55:55 +00:00
add some RPC error reporting
This commit is contained in:
@@ -307,6 +307,12 @@ if (!xmlhttp_rpc && typeof XMLHttpRequest!='undefined') {
|
||||
|
||||
function label_counters_callback() {
|
||||
if (xmlhttp_rpc.readyState == 4) {
|
||||
|
||||
if (!xmlhttp.responseXML) {
|
||||
notify("label_counters_callback: backend did not return valid XML");
|
||||
return;
|
||||
}
|
||||
|
||||
var reply = xmlhttp_rpc.responseXML.firstChild;
|
||||
|
||||
var f_document = parent.frames["feeds-frame"].document;
|
||||
|
||||
Reference in New Issue
Block a user