widgets/SecurePass.js
[Pman.Core] / widgets / SecurePass.js
index a78eac1..b2e26ae 100644 (file)
@@ -73,6 +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);
                     if(event.getKey() == 8 && this.getValue().length == 1){
                         event.preventDefault();
                         this.setValue('');