projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8fb61
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Wed, 23 Dec 2020 03:37:04 +0000
(11:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 Dec 2020 03:37:04 +0000
(11:37 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
7d133c6
..
ee201ee
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-300,8
+300,8
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
this.headerEditEl = this.headerEl.select('.form-control',true).first();
this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this);
this.headerEditEl.on('keyup', function(e) {
- if(
e.isNavKeyPress())
{
-
this.toggleHeaderInput(false)
+ if(
[ e.RETURN , e.TAB , e.ESC ].indexOf(e.keyCode) > -1)
{
+ this.toggleHeaderInput(false)
}
}, this);
this.headerEditEl.on('blur', function(e) {