diff --git a/pandora_console/include/javascript/pandora_ui.js b/pandora_console/include/javascript/pandora_ui.js index 80ddfd06f5..00ece1a178 100644 --- a/pandora_console/include/javascript/pandora_ui.js +++ b/pandora_console/include/javascript/pandora_ui.js @@ -514,7 +514,7 @@ function load_modal(settings) { if (settings.cleanup != undefined) { settings.cleanup(); } - $("#modal_overlay").removeClass("ui-widget-overlay"); + $("#modal_overlay").remove(); }, beforeClose: settings.beforeClose() });