#8210 Fixed dropdown select2

This commit is contained in:
Daniel Maya 2021-11-18 11:48:19 +01:00
parent a5cfe3869c
commit 6f7b35a3b4

View File

@ -1163,9 +1163,8 @@ function show_display_update_action(id_module_action, alert_id, alert_id_agent_m
background: "black" background: "black"
}, },
open: function() { open: function() {
$("#action_select_ajax, #action_select_ajax").select2({ $("#action_select_ajax").select2({
tags: true, dropdownParent: $('#update_action-')
dropdownParent: $("#update_action-div")
}); });
}, },
width: 500, width: 500,
@ -1174,7 +1173,6 @@ function show_display_update_action(id_module_action, alert_id, alert_id_agent_m
.show (); .show ();
} }
}); });
} }
/* ]]> */ /* ]]> */