#13309 Fixed help tip modal in alerts view actions in metaconsole

This commit is contained in:
Jorge Rincon 2024-04-22 08:54:08 +02:00
parent ca7c0f26a3
commit 0940f33ee5
1 changed files with 27 additions and 0 deletions

View File

@ -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 () { $(document).ready ( function () {