From 116fcaece75ed36976a66bd4842e0f08239b08e4 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 23 Apr 2013 12:29:26 +0800 Subject: [PATCH] widgets/SecurePass.js --- widgets/SecurePass.js | 3 +++ 1 file changed, 3 insertions(+) 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(''); -- 2.39.2