Roo/bootstrap/Component.js
authoredward <edward@roojs.com>
Fri, 25 May 2018 03:01:50 +0000 (11:01 +0800)
committeredward <edward@roojs.com>
Fri, 25 May 2018 03:01:50 +0000 (11:01 +0800)
Roo/bootstrap/Component.js

index baea97b..a958872 100644 (file)
@@ -248,7 +248,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         if (!is_body) {
             
             // if parent was disabled, then do not try and create the children..
-            if(this[cntr](true) === false || this[cntr](true) === null || typeof(this[cntr](true)) == 'undefined'){
+            if(!this[cntr](true)){
                 tree.items = [];
                 return tree;
             }