From: Edward Date: Tue, 23 Apr 2013 04:29:26 +0000 (+0800) Subject: widgets/SecurePass.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=116fcaece75ed36976a66bd4842e0f08239b08e4 widgets/SecurePass.js --- diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index ebd5ebfa..bd8b97d6 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -73,7 +73,10 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { initEvents : function(){ if(this.inputType == 'password'){ this.el.on('keydown',function(event){ + Roo.log(this.el.getValue()); + Roo.log(this.el.getValue().length); if(event.getKey() == 8){ + Roo.log(this.el.getValue()); Roo.log(this.el.getValue().length); event.preventDefault(); this.setValue('');