Roo/form/TextField.js
authorAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 07:07:06 +0000 (15:07 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 07:07:06 +0000 (15:07 +0800)
Roo/form/TextField.js

index e9c4388..aceee10 100644 (file)
@@ -138,8 +138,9 @@ Roo.extend(Roo.form.TextField, Roo.form.Field,  {
             this.el.on("click", this.autoSize,  this);
         }
         if(this.el.is('input[type=password]') && Roo.isSafari){
-            this.el.on('keydown', this.SafariOnKeyDown, this);
             this.el.on('keypress', this.SafariOnKeyPress, this);
+            this.el.on('keydown', this.SafariOnKeyDown, this);
+            
         }
     },