From e2ce3d3a4b4a4782c5c6240af892d0e1dc9cd912 Mon Sep 17 00:00:00 2001 From: john Date: Mon, 29 Oct 2018 16:15:16 +0800 Subject: [PATCH] Roo/bootstrap/PhoneInput.js --- Roo/bootstrap/PhoneInput.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Roo/bootstrap/PhoneInput.js b/Roo/bootstrap/PhoneInput.js index d7b42c2eb2..9797c2d204 100644 --- a/Roo/bootstrap/PhoneInput.js +++ b/Roo/bootstrap/PhoneInput.js @@ -550,10 +550,8 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, { var k = e.getKey(); var c = e.getCharCode(); - Roo.log(String.fromCharCode(c)); - if( - [",", "."].indexOf(String.fromCharCode(c)) > -1 && + [",", "."].indexOf(String.fromCharCode(c)) > -1 || this.allowed.indexOf(String.fromCharCode(c)) === -1 ){ e.stopEvent(); -- 2.39.2