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

index 39df29f..419d721 100644 (file)
@@ -167,9 +167,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
      */
     addxtype  : function(tree,cntr)
     {
-        var cn = this;
-        
-        cn = Roo.factory(tree);
+        var cn = Roo.factory(tree);
         //Roo.log(['addxtype', cn]);
            
         cn.parentType = this.xtype; //??