Roo/bootstrap/Component.js
authorAlan Knowles <alan@roojs.com>
Thu, 21 Feb 2019 07:31:15 +0000 (15:31 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Feb 2019 07:31:15 +0000 (15:31 +0800)
Roo/bootstrap/Component.js

index 8e37566..efb3f85 100644 (file)
@@ -380,6 +380,21 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         return cn;
     },
     
+    
+    addxtypeChildren: function(child_array)
+    {
+       var nitems = [];
+       if (!tree.items || !tree.items.length) {
+            this.items = nitems;
+            //Roo.log(["no children", this]);
+            
+            return cn;
+        }
+       
+    },
+    
+    
+    
     /**
      * Set the element that will be used to show or hide
      */