projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4acf8fd
)
Roo/bootstrap/Modal.js
author
Edward
<edward@roojs.com>
Mon, 17 Sep 2018 08:28:45 +0000
(16:28 +0800)
committer
Edward
<edward@roojs.com>
Mon, 17 Sep 2018 08:28:45 +0000
(16:28 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
864786c
..
152ab25
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-271,10
+271,8
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
if(!this.fitwindow && this.maxWidth !== 0){
var w = Math.min(this.maxWidth, Roo.lib.Dom.getViewportWidth(true) - 30);
- this.dialogEl.setWidth(w);
-
-// var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
-// this.setSize(w,h);
+ var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
+ this.setSize(w,h);
}
},