Roo/bootstrap/Component.js
authoredward <edward@roojs.com>
Thu, 24 May 2018 05:20:50 +0000 (13:20 +0800)
committeredward <edward@roojs.com>
Thu, 24 May 2018 05:20:50 +0000 (13:20 +0800)
Roo/bootstrap/Component.js

index 44bcaa5..2d550e0 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){
+            if(this[cntr](true) === false || this[cntr](true) === null){
                 tree.items = [];
                 return tree;
             }