Roo/bootstrap/Tooltip.js
authoredward <edward@roojs.com>
Tue, 21 Nov 2017 03:58:20 +0000 (11:58 +0800)
committeredward <edward@roojs.com>
Tue, 21 Nov 2017 03:58:20 +0000 (11:58 +0800)
Roo/bootstrap/Form.js

Roo/bootstrap/Form.js
Roo/bootstrap/Tooltip.js

index bde864a..f5a083c 100644 (file)
@@ -199,7 +199,9 @@ Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component,  {
         
         this.errTooltip.el.select('.tooltip-inner',true).first().dom.innerHTML = 'This field is required';
         
-        this.errPopoverEl.show();
+        this.errTooltip.el.removeClass(['fade','top','bottom', 'left', 'right','in']);
+        
+        this.el.show();
         
         var fadeout = function(){
             
index 8be6ee5..18fe186 100644 (file)
@@ -247,7 +247,7 @@ Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component,  {
         }
         
         var align = Roo.bootstrap.Tooltip.alignment[placement];
-        Roo.log(align);
+        
         var xy = this.el.getAlignToXY(this.bindEl, align[0], align[1]);
         
         if(placement == 'top' || placement == 'bottom'){