Roo/bootstrap/PhoneInput.js
[roojs1] / roojs-bootstrap-debug.js
index eec5e95..36f4be4 100644 (file)
@@ -40390,10 +40390,7 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
         
         onKeyUp : function(e){
             
-            var k = e.getKey();
-            var c = e.getCharCode();
-            
-            if(this.allowed.indexOf(String.fromCharCode(c)) === -1){
+            if(this.allowed.indexOf(String.fromCharCode(e.getCharCode())) === -1){
                 e.stopEvent();
             }