projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
98af144
)
Roo/bootstrap/Modal.js
author
john
<john@roojs.com>
Wed, 26 Sep 2018 03:36:16 +0000
(11:36 +0800)
committer
john
<john@roojs.com>
Wed, 26 Sep 2018 03:36:16 +0000
(11:36 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
e1a8965
..
c3ce30c
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-272,8
+272,15
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30);
var view_height = Roo.lib.Dom.getViewportHeight(true) - 60; //without padding
+ var body_childs = this.bodyEl.dom.childNodes;
+
+ for(var i = 0; i < this.bodyEl.dom.childNodes.length; i++) {
+
+ }
+
this.setSize(w, this.height || view_height);
- Roo.log(this.bodyEl.dom.offsetHeight);
+
+
//
// if(