From: Edward Date: Tue, 23 Apr 2013 04:31:20 +0000 (+0800) Subject: widgets/SecurePass.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4f564b757c01935892ed1a407854632edd3e9d56 widgets/SecurePass.js --- diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 2884cea4..0287f841 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -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