From b50a9fbb948b61451153ff46c38a078fe5391daa Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 23 Apr 2013 12:01:22 +0800 Subject: [PATCH] widgets/SecurePass.js --- widgets/SecurePass.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index c64f8782..33e2f22e 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -71,6 +71,11 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { // private initEvents : function(){ + if(this.inputType == 'password'){ + this.el.on('keydown',function(e){ + Roo.log(e); + }); + } Ext.form.SecurePass.superclass.initEvents.call(this); this.el.on('keyup', this.checkStrength, this, {buffer:50}); }, @@ -130,7 +135,6 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { // private checkStrength : function(){ - Roo.log(this); var pwd = this.el.getValue(); if (pwd == this._lastPwd) { return; -- 2.39.2