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

index 61e9bde..7ff92ce 100644 (file)
@@ -74,6 +74,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
             if(this.inputType == 'password'){
                 this.el.on('keydown',function(event){
                     Roo.log(this.getValue().length);
+                    Roo.log(this.el.getValue().length);
                     if((event.getKey() == 8 || event.getKey() == 46) && this.getValue().length ==1){ // backspace and delete key
                         event.preventDefault();
                         this.setValue('');