Roo/form/TextField.js
authorAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 07:01:14 +0000 (15:01 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 07:01:14 +0000 (15:01 +0800)
Roo/form/TextField.js

index c330970..c1e3497 100644 (file)
@@ -328,7 +328,7 @@ Roo.extend(Roo.form.TextField, Roo.form.Field,  {
         if(isSelectAll){ // backspace and delete key
             
             event.preventDefault();
-            this.setValue(String.fromCharCode(event.charCode)); 
+            this.setValue(String.fromCharCode(event.getCharCode())); 
         };