widgets/SecurePass.js
authorEdward <edward@roojs.com>
Tue, 23 Apr 2013 04:08:32 +0000 (12:08 +0800)
committerEdward <edward@roojs.com>
Tue, 23 Apr 2013 04:08:32 +0000 (12:08 +0800)
widgets/SecurePass.js

index 3b948a4..20ac8a6 100644 (file)
@@ -73,12 +73,11 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
     initEvents : function(){
             if(this.inputType == 'password'){
                 this.el.on('keydown',function(event){
-                    Roo.log(this.el);
                     if(event.getKey() == 8){
                         event.preventDefault();
                         //this.setValue('');
                     };
-                });
+                },this);
             }
             Ext.form.SecurePass.superclass.initEvents.call(this);
             this.el.on('keyup', this.checkStrength, this, {buffer:50});