Roo/bootstrap/Component.js
authoredward <edward@roojs.com>
Wed, 9 Mar 2016 03:14:07 +0000 (11:14 +0800)
committeredward <edward@roojs.com>
Wed, 9 Mar 2016 03:14:07 +0000 (11:14 +0800)
Roo/bootstrap/Component.js

index 35f9577..8a80b78 100644 (file)
@@ -55,7 +55,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
     
     autoCreate : false,
     
-    tooltip : 'test',
+    tooltip : null,
     /**
      * Initialize Events for the element
      */
@@ -86,9 +86,8 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
        // Roo.log("Call onRender: " + this.xtype);
         
         Roo.bootstrap.Component.superclass.onRender.call(this, ct, position);
-        Roo.log('onRender???');
+        
         if(this.el){
-            Roo.log('run??');
             if (this.el.attr('xtype')) {
                 this.el.attr('xtypex', this.el.attr('xtype'));
                 this.el.dom.removeAttribute('xtype');
@@ -129,10 +128,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         
         this.el = ct.createChild(cfg, position);
         
-        Roo.log(this);
-        
         if (this.tooltip) {
-            Roo.log(this.tooltip);
             this.tooltipEl().attr('tooltip', this.tooltip);
         }
         
@@ -157,14 +153,11 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
      */
     tooltipEl : function()
     {
-        Roo.log('tooltipEl!!!!!!!!!!!!!!');
-        Roo.log(this.el);
         return this.el;
     },
         
     addxtype  : function(tree,cntr)
     {
-        Roo.log(tree);
         var cn = this;
         
         cn = Roo.factory(tree);