projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c5b43
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 09:09:35 +0000
(17:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 09:09:35 +0000
(17:09 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
d7ca273
..
c1e7947
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-299,11
+299,14
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
if (this.editableTitle) {
this.headerEditEl = this.headerEl.select('.form-control',true).first();
this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this);
- this.headerEditEl
.on('keyup', function(e) {
+ this.headerEditEl.on('keyup', function(e) {
if(e.isNavKeyPress()){
this.toggleHeaderInput(false)
}
}, this);
+ this.headerEditEl.on('blur', function(e) {
+ this.toggleHeaderInput(false)
+ });
}
},