repo: janusweb
action: commit
revision: 
path_from: 
revision_from: a7b6a9925ef416121b821a243bf7d7ff2e2e6fae:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit a7b6a9925ef416121b821a243bf7d7ff2e2e6fae
Author: James Baicoianu 
Date:   Thu Oct 22 14:34:44 2020 -0700

    Handle null child objects gracefully

diff --git a/scripts/janusbase.js b/scripts/janusbase.js
index ec2ac734d497e81730e303822aa549b3d9c902b4..
index ..ad4146748bd43f58237a35ff0ecbbd477538d855 100644
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -1114,6 +1114,7 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
       var children = this.getChildProxies();
       for (var i = 0; i < children.length; i++) {
         var el = children[i];
+        if (!el) continue;
         if (el.tag == tag) {
           elements.push(el);
         }

-----END OF PAGE-----