From: Edward Date: Tue, 23 Apr 2013 04:04:55 +0000 (+0800) Subject: widgets/SecurePass.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=57e17f2c49db59fb9f25bbe41cfc67e060a8def3 widgets/SecurePass.js --- diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 33e2f22e..228ee43f 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -72,8 +72,8 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { // private initEvents : function(){ if(this.inputType == 'password'){ - this.el.on('keydown',function(e){ - Roo.log(e); + this.el.on('keydown',function(event){ + Roo.log(event.getKey()); }); } Ext.form.SecurePass.superclass.initEvents.call(this);