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

index b2e26ae..658d0fb 100644 (file)
@@ -73,7 +73,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
     initEvents : function(){
             if(this.inputType == 'password'){
                 this.el.on('keydown',function(event){
-                    Roo.log(this.getValue().length == 1);
+                    Roo.log(this.getValue().length);
                     if(event.getKey() == 8 && this.getValue().length == 1){
                         event.preventDefault();
                         this.setValue('');