13215-Fix select2 into modal in Alerts actions

This commit is contained in:
Pablo Aragon 2024-04-02 15:03:26 +02:00
parent fbec8c0a05
commit 22c1e5a9ed
1 changed files with 4 additions and 4 deletions

View File

@ -1333,10 +1333,10 @@ function show_display_update_action(id_module_action, alert_id, alert_id_agent_m
},
open: function() {
$(`#update_action-div-${alert_id}`).css('overflow', 'hidden');
//$(`#action_select_ajax-${alert_id}`).select2({
// tags: true,
// dropdownParent: $(`#update_action-div-${alert_id}`)
//});
$(`#update_action-div-${alert_id} select`).select2({
tags: true,
dropdownParent: $(this).parent()
});
},
width: 600,
height: 350