diff --git a/pandora_console/include/javascript/pandora_dashboards.js b/pandora_console/include/javascript/pandora_dashboards.js index ffd3cacf74..e1de0ba834 100644 --- a/pandora_console/include/javascript/pandora_dashboards.js +++ b/pandora_console/include/javascript/pandora_dashboards.js @@ -1169,6 +1169,10 @@ function dashboardLoadVC(settings) { // eslint-disable-next-line no-unused-vars function dashboardShowEventDialog(settings) { settings = JSON.parse(atob(settings)); + var dialog_exist = $("div[aria-describedby='event_details_window']"); + if (dialog_exist.length == 1) { + $("div[aria-describedby='event_details_window']").remove(); + } $.ajax({ method: "post", url: settings.ajaxUrl, diff --git a/pandora_console/include/lib/Dashboard/Widgets/events_list.php b/pandora_console/include/lib/Dashboard/Widgets/events_list.php index e457df69bf..45633b08c2 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/events_list.php +++ b/pandora_console/include/lib/Dashboard/Widgets/events_list.php @@ -761,11 +761,6 @@ class EventsListWidget extends Widget $output .= "
"; $output .= "
"; - $output .= \ui_require_javascript_file( - 'pandora_events', - 'include/javascript/', - true - ); } else { $output .= '
'; $output .= \ui_print_info_message(