summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-21 08:09:18 +0100
committerAndrew Dolgov <[email protected]>2006-03-21 08:09:18 +0100
commit894ebcf5e94c917f5e10e5196f74b8055e2b2407 (patch)
treea6ae843d7622de23a464e43b00942fdf00a27006 /functions.js
parentac92cb46be4fad924be5e03f46fed7000c3dea81 (diff)
update_daemon work, remove unneeded indexes, query optimizations
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;