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