Roo/bootstrap/Form.js
authoredward <edward@roojs.com>
Thu, 14 Dec 2017 09:23:01 +0000 (17:23 +0800)
committeredward <edward@roojs.com>
Thu, 14 Dec 2017 09:23:01 +0000 (17:23 +0800)
Roo/bootstrap/Form.js

index cc57b08..d85b67e 100644 (file)
@@ -176,10 +176,7 @@ Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component,  {
         });
         
         if(this.errorMask && !valid){
-            (function() {
-                Roo.log('run???');
-                Roo.bootstrap.Form.popover.mask(this, target);
-            }).defer(10);
+            Roo.bootstrap.Form.popover.mask(this, target);
         }
         
         return valid;
@@ -621,6 +618,8 @@ Roo.apply(Roo.bootstrap.Form, {
             
             var ot = this.target.el.calcOffsetsTo(scrollable);
             
+            Roo.log(ot);
+            
             var scrollTo = ot[1] - 100;
             
             scrollable.scrollTo('top', scrollTo);