Roo/form/TextField.js
authorAlan Knowles <alan@roojs.com>
Fri, 26 Jul 2013 03:17:57 +0000 (11:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 26 Jul 2013 03:17:57 +0000 (11:17 +0800)
Roo/form/TextField.js

index cff32ec..f68c13a 100644 (file)
@@ -336,7 +336,7 @@ Roo.extend(Roo.form.TextField, Roo.form.Field,  {
             // this is very hacky as keydown always get's upper case.
             //
             var cc = String.fromCharCode(event.getCharCode());
-            this.setValue( this.shiftKey ?  cc : cc.toLowerCase());
+            this.setValue( event.shiftKey ?  cc : cc.toLowerCase());
             
         }