Roo/bootstrap/Component.js
authorEdward <edward@roojs.com>
Mon, 28 Apr 2014 09:00:51 +0000 (17:00 +0800)
committerEdward <edward@roojs.com>
Mon, 28 Apr 2014 09:00:51 +0000 (17:00 +0800)
Roo/bootstrap/Component.js

index 5ebedcc..4e5b0dd 100644 (file)
@@ -180,9 +180,6 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
     addxtypeChild : function (tree, cntr)
     {
         var cn = this;
-        
-        
-        
         cntr = typeof(cntr == 'undefined' ) ? 'getChildContainer' : cntr;
         
         
@@ -194,7 +191,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         
         // render the element if it's not BODY.
         if (tree.xtype != 'Body') {
-            var test = Roo.factory(tree);
+            
             cn = Roo.factory(tree);
            
             cn.parentType = this.xtype; //??