Roo/bootstrap/Component.js
authorleon <leon@roojs.com>
Wed, 22 Mar 2023 08:30:36 +0000 (16:30 +0800)
committerleon <leon@roojs.com>
Wed, 22 Mar 2023 08:30:36 +0000 (16:30 +0800)
Roo/bootstrap/Component.js

index a5ee44e..79c523a 100644 (file)
@@ -167,7 +167,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         
     addxtype  : function(tree,cntr)
     {
-        Roo.log('ADDXTYPE: ' + this.xtype);
+        Roo.log('ADDXTYPE: ' + tree.xtype);
         var cn = this;
         
         cn = Roo.factory(tree);
@@ -243,7 +243,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
     addxtypeChild : function (tree, cntr, is_body)
     {
         Roo.debug && Roo.log('addxtypeChild:' + cntr);
-        Roo.log('ADDXTYPECHILD: ' + this.xtype);
+        Roo.log('ADDXTYPECHILD: ' + tree.xtype);
         Roo.log(this.el);
         var cn = this;
         cntr = (typeof(cntr) == 'undefined' ) ? 'getChildContainer' : cntr;