X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FPhoneInput.js;h=0de5d61b2ec110737b661ff761987b547bb848e7;hb=3919d12a30a96694119d3c142e27af2f1625d15a;hp=72f82f37350925a36a94a3b06634a64ee9b62faa;hpb=e6081cd545eee18a121bb9a731c8da89513cf54f;p=roojs1 diff --git a/Roo/bootstrap/PhoneInput.js b/Roo/bootstrap/PhoneInput.js index 72f82f3735..0de5d61b2e 100644 --- a/Roo/bootstrap/PhoneInput.js +++ b/Roo/bootstrap/PhoneInput.js @@ -551,7 +551,7 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, { this.setValue(this.getValue()); }, - onKeyPress : function(e){ + onKeyDown : function(e){ if(this.allowed.indexOf(String.fromCharCode(e.getCharCode())) === -1){ e.stopEvent(); }