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

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