#13309 Fixed help tip modal in alerts view actions in metaconsole
This commit is contained in:
parent
ca7c0f26a3
commit
0940f33ee5
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue