Roo/bootstrap/Form.js
authoredward <edward@roojs.com>
Tue, 21 Nov 2017 06:53:46 +0000 (14:53 +0800)
committeredward <edward@roojs.com>
Tue, 21 Nov 2017 06:53:46 +0000 (14:53 +0800)
Roo/bootstrap/Form.js

index 3a2beb3..e490fec 100644 (file)
@@ -210,9 +210,9 @@ Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component,  {
         
         Roo.log(target.inputEl());
         
-//        target.el.dom.scrollIntoView();
+        target.el.dom.scrollIntoView();
         
-        target.inputEl().focus();
+//        target.inputEl().focus();
         
         /*
          * Place the popover
@@ -253,6 +253,7 @@ Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component,  {
         
         Roo.get(document.body).on('click', function(){
            Roo.log('click ???') ;
+           fadeout();
         });
         
 //        target.inputEl().on('blur', fadeout, target);