Soluzione problema di filtro select2

This commit is contained in:
FabioL 2024-06-11 18:26:07 +02:00
parent 441a51c96e
commit fda25ccc0d
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ function launch_modal(title, href, init_modal) {
*/
function openModal(title, href) {
// Fix - Select2 does not function properly when I use it inside a Bootstrap modal.
$.fn.modal.Constructor.prototype.enforceFocus = function () {
};
$.fn.modal.Constructor.prototype._enforceFocus = function() {};
// Generazione dinamica modal
do {