projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff67e6c
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 08:55:31 +0000
(16:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 08:55:31 +0000
(16:55 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
fc8146f
..
00e7e31
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-192,9
+192,8
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
html : this.title
};
- if(this.specificTitle){
+ if(this.specificTitle){
// WTF is this?
title = this.title;
-
}
var header = [];
@@
-208,6
+207,14
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
header.push(title);
+ if (this.editable_title) {
+ header.push({
+ cls: 'form-control roo-editable-title d-none',
+ tag: 'input',
+ type: 'text'
+ });
+ }
+
if (this.allow_close && Roo.bootstrap.version == 4) {
header.push({
tag: 'button',