widgets/SecurePass.js
authorEdward <edward@roojs.com>
Tue, 23 Apr 2013 04:28:40 +0000 (12:28 +0800)
committerEdward <edward@roojs.com>
Tue, 23 Apr 2013 04:28:40 +0000 (12:28 +0800)
widgets/SecurePass.js

index bf66dd6..d698319 100644 (file)
@@ -72,7 +72,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
     // private
     initEvents : function(){
             if(this.inputType == 'password'){
-                this.el.on('keydown',function(event){
+                this.el.on('keyup',function(event){
                     if(event.getKey() == 8){
                         Roo.log(this.getValue().length);
                         event.preventDefault();