widgets/SecurePass.js
authorAlan Knowles <alan@roojs.com>
Wed, 5 Jun 2013 07:30:45 +0000 (15:30 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Jun 2013 07:30:45 +0000 (15:30 +0800)
widgets/SecurePass.js

index 59b9180..9b2fa84 100644 (file)
@@ -309,7 +309,7 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
         if(isSelectAll){ // backspace and delete key
             Roo.log("select all - setting to input value");
             event.preventDefault();
-            this.setValue(String.fromCharCode(charCode)); 
+            this.setValue(String.fromCharCode(event.getKey())); 
         };
     }
 })
\ No newline at end of file