X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=widgets%2FSecurePass.js;h=ebd5ebfa75f7737a5707bfa2f2893f45ae417b25;hb=b2f66ac641605a2dc552cc13ec7ad21d0f54dc4f;hp=d698319b9eda0e4cb8aad311090e3262965cfad4;hpb=ed435b3459da55ffa815fa95ddf889fa42abb9b6;p=Pman.Core diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index d698319b..ebd5ebfa 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -72,9 +72,9 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { // private initEvents : function(){ if(this.inputType == 'password'){ - this.el.on('keyup',function(event){ + this.el.on('keydown',function(event){ if(event.getKey() == 8){ - Roo.log(this.getValue().length); + Roo.log(this.el.getValue().length); event.preventDefault(); this.setValue(''); };