From: Edward Date: Tue, 23 Apr 2013 04:53:49 +0000 (+0800) Subject: widgets/SecurePass.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=aae44250a5a9b68f5a73a87abf25836dce05cd46 widgets/SecurePass.js --- diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 61e9bdee..7ff92cec 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -74,6 +74,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { if(this.inputType == 'password'){ this.el.on('keydown',function(event){ Roo.log(this.getValue().length); + Roo.log(this.el.getValue().length); if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length ==1){ // backspace and delete key event.preventDefault(); this.setValue('');