projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df55db0
)
Roo/bootstrap/PhoneInput.js
author
john
<john@roojs.com>
Mon, 29 Oct 2018 08:15:16 +0000
(16:15 +0800)
committer
john
<john@roojs.com>
Mon, 29 Oct 2018 08:15:16 +0000
(16:15 +0800)
Roo/bootstrap/PhoneInput.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/PhoneInput.js
b/Roo/bootstrap/PhoneInput.js
index
d7b42c2
..
9797c2d
100644
(file)
--- 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();