projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2acfae8
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Fri, 30 Nov 2018 03:48:04 +0000
(11:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 30 Nov 2018 03:48:04 +0000
(11:48 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
3a0d4bc
..
89444bb
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-274,7
+274,10
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
},
getButtonContainer : function() {
- return this.el.select('.modal-footer div',true).first();
+
+ return Roo.bootstrap.version == 4 ?
+ this.el.select('.modal-footer',true).first()
+ : this.el.select('.modal-footer div',true).first();
},
initEvents : function()