Merge branch 'ent-9587-busqueda-doble-en-vista-de-agentes' into 'develop'

Ent 9587 busqueda doble en vista de agentes

See merge request artica/pandorafms!5360
This commit is contained in:
Rafael Ameijeiras 2022-12-28 09:56:34 +00:00
commit 19b74922a8

View File

@ -2069,6 +2069,10 @@ switch ($tab) {
// I do not understand, nor do I agree with this operation, but it is what it is. // I do not understand, nor do I agree with this operation, but it is what it is.
$(document).ready (function () { $(document).ready (function () {
$('.ehorus_tab').hover(ehorus_tab_show, ehorus_tab_hide); $('.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() { function ehorus_tab_show() {
@ -2080,4 +2084,9 @@ switch ($tab) {
$('.subsubmenu').hide("fast"); $('.subsubmenu').hide("fast");
},15000); },15000);
} }
function search_alerts_status(){
$('#text-free_search_alert').val($('#text-status_text_monitor').val());
$('#form_alerts_status_datatable_search_bt').trigger('click');
}
</script> </script>