widgets/SecurePass.js
[Pman.Core] / widgets / SecurePass.js
index 764b8f3..6fa3c26 100644 (file)
@@ -308,7 +308,8 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
          };
         if(isSelectAll){ // backspace and delete key
             event.preventDefault();
-            this.setValue(String.fromCharCode(charCode));
+            this.setValue('');
+            (function() { this.setValue(String.fromCharCode(charCode)); }).defer(50);
             return;
         };
     }