Parcourir la source

fix close assicurazione

FabioFratini il y a 11 mois
Parent
commit
80dc644024
1 fichiers modifiés avec 0 ajouts et 9 suppressions
  1. 0 9
      resources/views/livewire/report.blade.php

+ 0 - 9
resources/views/livewire/report.blade.php

@@ -5929,14 +5929,6 @@
 
             modals.forEach(modalsSelect);
 
-            $('#veicoloDataParte').on('hidden.bs.modal', function () {
-                modals.forEach(value => {
-                    if ($('.' + value).data('select2')) {
-                        $('.' + value).select2('destroy');
-                    }
-                });
-            });
-
             $(document).ready(function () {
                 $('.data_polizze').select2({
                     dropdownParent: $("#veicoloDataParte"),
@@ -6273,6 +6265,5 @@
                 $('.compagnia_id').append(option).trigger('change');
             }
         });
-
     </script>
 @endpush