Roo/bootstrap/Component.js
[roojs1] / Roo / bootstrap / Component.js
index ba0138a..baea97b 100644 (file)
@@ -247,9 +247,8 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         // render the element if it's not BODY.
         if (!is_body) {
             
-            Roo.log(this[cntr](true));
             // if parent was disabled, then do not try and create the children..
-            if(this[cntr](true) === false || this[cntr](true) === null){
+            if(this[cntr](true) === false || this[cntr](true) === null || typeof(this[cntr](true)) == 'undefined'){
                 tree.items = [];
                 return tree;
             }