summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-22 05:35:20 +0100
committerAndrew Dolgov <[email protected]>2006-05-22 05:35:20 +0100
commit4220b0bddbff8ee0ded072f75442a9e8d9a1313f (patch)
treecd6ac36b5374ddc347d13a2c1ccad2bb9ec2d681 /functions.js
parent071644795cdaf97601ba96d9c89b7910b49ab617 (diff)
rework filter editor/add infobox layout, misc fixes
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 89924fed6..46c812ed5 100644
--- a/functions.js
+++ b/functions.js
@@ -364,6 +364,11 @@ function disableContainerChildren(id, disable, doc) {
var container = doc.getElementById(id);
+ if (!container) {
+ //alert("disableContainerChildren: element " + id + " not found");
+ return;
+ }
+
for (var i = 0; i < container.childNodes.length; i++) {
var child = container.childNodes[i];