projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de64fe8
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 09:05:36 +0000
(17:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 09:05:36 +0000
(17:05 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
d631877
..
7c78004
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-298,7
+298,8
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
Roo.EventManager.onWindowResize(this.resize, this, true);
if (this.editableTitle) {
this.headerEditEl = this.headerEl.select('.form-control',true).first();
- this.headerEl.on('click', this.showHeaderInput, this);
+ this.headerEl.on('click', function() { this.showHeaderInput(true) } , this);
+ this.headerEditEl .on('specialkey', function() { this.showHeaderInput(false) } , this);
}
},