projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/PhoneInput.js
[roojs1]
/
Roo
/
bootstrap
/
PhoneInput.js
diff --git
a/Roo/bootstrap/PhoneInput.js
b/Roo/bootstrap/PhoneInput.js
index
321ccb2
..
9797c2d
100644
(file)
--- a/
Roo/bootstrap/PhoneInput.js
+++ b/
Roo/bootstrap/PhoneInput.js
@@
-551,7
+551,7
@@
Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
var c = e.getCharCode();
if(
- (String.fromCharCode(c) == '.' || String.fromCharCode(c) == '-') &&
+ [",", "."].indexOf(String.fromCharCode(c)) > -1 ||
this.allowed.indexOf(String.fromCharCode(c)) === -1
){
e.stopEvent();