projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f8aff1
)
Roo/bootstrap/PhoneInput.js
author
john
<john@roojs.com>
Mon, 29 Oct 2018 08:06:36 +0000
(16:06 +0800)
committer
john
<john@roojs.com>
Mon, 29 Oct 2018 08:06:36 +0000
(16:06 +0800)
Roo/bootstrap/PhoneInput.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/PhoneInput.js
b/Roo/bootstrap/PhoneInput.js
index
321ccb2
..
74ff626
100644
(file)
--- a/
Roo/bootstrap/PhoneInput.js
+++ b/
Roo/bootstrap/PhoneInput.js
@@
-550,6
+550,8
@@
Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
var k = e.getKey();
var c = e.getCharCode();
+ Roo.log(String.fromCharCode(c));
+
if(
(String.fromCharCode(c) == '.' || String.fromCharCode(c) == '-') &&
this.allowed.indexOf(String.fromCharCode(c)) === -1