projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3303fae
)
Roo/bootstrap/DateField.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 10:00:33 +0000
(18:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 10:00:33 +0000
(18:00 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
3a1592d
..
2b1f6fb
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-589,8
+589,9
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
fireKey: function(e)
{
if (!this.picker().isVisible()){
- if (e.keyCode == 27) // allow escape to hide and re-show picker
+ if (e.keyCode == 27)
{
// allow escape to hide and re-show picker
this.show();
+ }
return;
}
@@
-605,7
+606,9
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
break;
case 37: // left
case 39: // right
- if (!this.keyboardNavigation) break;
+ if (!this.keyboardNavigation) {
+ break;
+ }
dir = e.keyCode == 37 ? -1 : 1;
if (e.ctrlKey){