diff --git a/modoboa/static/js/global.js b/modoboa/static/js/global.js index bb33cb826..cef1a24d7 100644 --- a/modoboa/static/js/global.js +++ b/modoboa/static/js/global.js @@ -68,10 +68,7 @@ function modalbox(e, css, defhref, defcb, defclosecb) { } function modalbox_autowidth(e) { - modalbox.apply(this, [e, { - width: 'auto', - 'margin-left': function() { return -($(this).width() / 2); } - }]); + modalbox.apply(this, [e]); } /*