From 0940f33ee5065bc16ec483d6be19a4f92259cd06 Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Mon, 22 Apr 2024 08:54:08 +0200 Subject: [PATCH] #13309 Fixed help tip modal in alerts view actions in metaconsole --- .../operation/agentes/alerts_status.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index 7d12fb643d..85df4739c9 100755 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -599,6 +599,33 @@ function alerts_table_controls() { } }); + $("[id^='div_tip_']").click(function() { + var id = $(this) + .attr("id") + .split("_")[2]; + + $("#tip_dialog_" + id).dialog({ + title: $("#tip_dialog_" + id).data("title"), + modal: true, + maxWidth: 600, + minWidth: 400, + show: { + effect: "fade", + duration: 200 + }, + hide: { + effect: "fade", + duration: 200 + }, + closeOnEscape: true, + buttons: { + Close: function() { + $(this).dialog("close"); + } + } + }); + }); + } $(document).ready ( function () {