#9587 agent view - filter alerts when filter on list of modules

This commit is contained in:
Jonathan 2022-12-28 10:03:31 +01:00
parent ffb5172509
commit 3caaf3a2a5
1 changed files with 9 additions and 0 deletions

View File

@ -2063,6 +2063,10 @@ switch ($tab) {
// I do not understand, nor do I agree with this operation, but it is what it is.
$(document).ready (function () {
$('.ehorus_tab').hover(ehorus_tab_show, ehorus_tab_hide);
// #9587 Doble find on agent view List modules and list of alerts.
$('#button-filter').on('click',function(){
search_alerts_status();
});
});
function ehorus_tab_show() {
@ -2074,4 +2078,9 @@ switch ($tab) {
$('.subsubmenu').hide("fast");
},15000);
}
function search_alerts_status(){
$('#text-free_search_alert').val($('#text-status_text_monitor').val());
$('#form_alerts_status_datatable_search_bt').trigger('click');
}
</script>