Fix select2 action search on alert list

This commit is contained in:
Calvo 2022-01-04 14:47:51 +01:00
parent 13c3a6f27d
commit 64f29e5be6
1 changed files with 1 additions and 1 deletions

View File

@ -1134,7 +1134,7 @@ function show_add_action(id_alert) {
},
open: function() {
$(`#add_action-div-${id_alert}`).css('overflow', 'hidden');
$("#action_select, #action_select").select2({
$("select[id^='action_select'], select[id^='action_select']").select2({
tags: true,
dropdownParent: $("#add_action-div-" + id_alert)
});