diff --git a/etemplate/js/et2_extension_nextmatch_actions.js b/etemplate/js/et2_extension_nextmatch_actions.js index ebb6aa2abe..2ec2e138c8 100644 --- a/etemplate/js/et2_extension_nextmatch_actions.js +++ b/etemplate/js/et2_extension_nextmatch_actions.js @@ -431,12 +431,14 @@ function nm_open_popup(_action, _selected) } }); }); + // Need to get the dialog width before make it hidden + var dialog_width = dialog.outerWidth(true); popup.hide(); dialog.dialog({ title: jQuery('.promptheader',popup).text(), modal: true, buttons: d_buttons, - minWidth: dialog.outerWidth(true), + minWidth: dialog_width, close: function(event, ui) { // Need to destroy the dialog, etemplate widget needs divs back where they were dialog.dialog("destroy");