widgets/SecurePass.js
[Pman.Core] / widgets / SecurePass.js
index 11131e5..bf66dd6 100644 (file)
@@ -74,10 +74,11 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
             if(this.inputType == 'password'){
                 this.el.on('keydown',function(event){
                     if(event.getKey() == 8){
+                        Roo.log(this.getValue().length);
                         event.preventDefault();
                         this.setValue('');
                     };
-                });
+                },this);
             }
             Ext.form.SecurePass.superclass.initEvents.call(this);
             this.el.on('keyup', this.checkStrength, this, {buffer:50});