From b50dfe4f8f6aee5733e1088182ea28601667fab7 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Mon, 13 Aug 2012 12:32:56 +0200 Subject: [PATCH] [IMP] Adapt openerp.web.Dialog's position and maxHeight to the new jquery bootstrap theme. bzr revid: fme@openerp.com-20120813103256-zhw7od30g9j406uv --- addons/web/static/src/js/chrome.js | 4 ++-- 1 file 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