widgets/SecurePass.js
[Pman.Core] / widgets / SecurePass.js
index 2884cea..0287f84 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){
                     Roo.log('before');
                     Roo.log(this.el.getValue());
                     Roo.log(this.el.getValue().length);
@@ -86,7 +86,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
                 },this);
             }
             Ext.form.SecurePass.superclass.initEvents.call(this);
-            this.el.on('keyup', this.checkStrength, this, {buffer:50});
+            //this.el.on('keyup', this.checkStrength, this, {buffer:50});
        },
 
        // private