[IMP] Adapt openerp.web.Dialog's position and maxHeight to the new jquery bootstrap theme.

bzr revid: fme@openerp.com-20120813103256-zhw7od30g9j406uv
This commit is contained in:
Fabien Meghazi 2012-08-13 12:32:56 +02:00
parent cdc3e2b333
commit b50dfe4f8f
1 changed files with 2 additions and 2 deletions

View File

@ -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