projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aba6bd
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Thu, 13 Jul 2017 07:42:24 +0000
(15:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 13 Jul 2017 07:42:24 +0000
(15:42 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
69a719e
..
364e5a2
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-332,9
+332,9
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
{
// skip.. ?? why??
- this.
el.select('.modal-dialog',true).first(
).setWidth(w);
+ this.
dialogEl
).setWidth(w);
if (this.diff === false) {
- this.diff = this.
el.select('.modal-dialog',true).first()
.getHeight() - this.el.select('.modal-body',true).first().getHeight();
+ this.diff = this.
dialogEl
.getHeight() - this.el.select('.modal-body',true).first().getHeight();
}
this.el.select('.modal-body',true).first().setHeight(h-this.diff);