projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72cfef3
)
Roo/bootstrap/Modal.js
author
Edward
<edward@roojs.com>
Mon, 17 Sep 2018 08:28:22 +0000
(16:28 +0800)
committer
Edward
<edward@roojs.com>
Mon, 17 Sep 2018 08:28:22 +0000
(16:28 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
152ab25
..
864786c
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-271,8
+271,10
@@
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);
- var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
- this.setSize(w,h);
+ this.dialogEl.setWidth(w);
+
+// var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
+// this.setSize(w,h);
}
},