summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index e016d8c8a..376490e08 100644
--- a/functions.js
+++ b/functions.js
@@ -471,7 +471,12 @@ function all_counters_callback() {
notify("[all_counters_callback] backend did not return valid XML");
return;
}
-
+
+ if (!parent.frames["feeds-frame"]) {
+ notify("[all_counters_callback] no parent feeds-frame");
+ return;
+ }
+
var reply = xmlhttp_rpc.responseXML.firstChild;
var f_document = parent.frames["feeds-frame"].document;