From 1a4bd20eafcafcc62adc413cea3bcbef5aa42a58 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 12 Jul 2012 18:40:59 +0200 Subject: [PATCH] [IMP] width of dialogs bzr revid: fp@tinyerp.com-20120712164059-drg0h7dovuh3l26c --- addons/web/static/src/js/chrome.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 970d509d481..bd7ee28dd6e 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -63,7 +63,7 @@ instance.web.Dialog = instance.web.Widget.extend({ this.dialog_options = { modal: true, destroy_on_close: true, - width: $(window).width() * (($(window).width() > 1024) ? 0.5 : 0.75), + width: 580, min_width: 0, max_width: '95%', height: 'auto',