summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-08-13 12:32:56 +0200
committerFabien Meghazi <fme@openerp.com>2012-08-13 12:32:56 +0200
commitb50dfe4f8f6aee5733e1088182ea28601667fab7 (patch)
tree0816cc9c7740c8ac4ca51fb33294e233026d7c02 /addons/web/static/src/js
parentcdc3e2b33396c02add806b36e9647410cca59aa3 (diff)
[IMP] Adapt openerp.web.Dialog's position and maxHeight to the new jquery bootstrap theme.
bzr revid: fme@openerp.com-20120813103256-zhw7od30g9j406uv
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/chrome.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index 4b2e0751e8d..43747d8e3cf 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -66,9 +66,9 @@ instance.web.Dialog = instance.web.Widget.extend({
max_width: '95%',
height: 'auto',
min_height: 0,
- max_height: this.get_height('100%') - 140,
+ max_height: this.get_height('100%') - 200,
autoOpen: false,
- position: [false, 50],
+ position: [false, 40],
buttons: {},
beforeClose: function () { self.on_close(); },
resizeStop: this.on_resized