projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b7e1e
)
Roo/bootstrap/Modal.js
author
john
<john@roojs.com>
Fri, 28 Sep 2018 04:18:56 +0000
(12:18 +0800)
committer
john
<john@roojs.com>
Fri, 28 Sep 2018 04:18:56 +0000
(12:18 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
827d148
..
a322c15
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-278,6
+278,10
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
return;
}
+ if(!this.fit_content) {
+ this.setSize(w, Roo.lib.Dom.getViewportHeight(true) - 60);
+ }
+
var body_childs = this.bodyEl.dom.childNodes;
var full_height = this.headerEl.getHeight() + this.footerEl.getHeight();
for(var i = 0; i < body_childs.length; i++) {