// private
initEvents : function(){
- Ext.form.SecurePass.superclass.initEvents.call(this);
- //this.el.on('keyup', this.checkStrength, this, {buffer:50});
+ 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});
},
// private