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
82651f0
..
d417149
100644
(file)
--- a/
Roo/bootstrap/PhoneInput.js
+++ b/
Roo/bootstrap/PhoneInput.js
@@
-553,7
+553,7
@@
Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
Roo.log(e.getCharCode());
if(
-
(String.fromCharCode(c) == '.' || String.fromCharCode(c) == '-')
&&
+
[",", ".", "n"].indexOf(String.fromCharCode(c)) > -1
&&
this.allowed.indexOf(String.fromCharCode(c)) === -1
){
e.stopEvent();