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

index 9727aa9..bf66dd6 100644 (file)
@@ -74,7 +74,7 @@ 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());
+                        Roo.log(this.getValue().length);
                         event.preventDefault();
                         this.setValue('');
                     };