diff --git a/Js/fonctions.js b/Js/fonctions.js
index 9dcacd4..8ca5c8a 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -2966,21 +2966,22 @@ function retirer_tous_adherent_importe_college()
v_msg="Attention, cela va vider ce collège! Confirmez-vous?";
v_msgEng="Attention, this will empty this college! Do you confirm?";
- if(confirm_ebene(v_msg, v_msgEng))
- {
- $.ajax({
- url: $("#racineWeb").val()+"Ajaximporterlisteassure/retirertousadherentaucollege/",
- type: 'POST',
- data: donnees,
- success: function(data) {
- },
- error: function(data) {
- },
- complete: function() {
- afficher_adherent_importee();
- }
- });
+ confirm_ebene(v_msg, v_msgEng).then(isConfirmed => {
+ if (isConfirmed) {
+ $.ajax({
+ url: $("#racineWeb").val()+"Ajaximporterlisteassure/retirertousadherentaucollege/",
+ type: 'POST',
+ data: donnees,
+ success: function(data) {
+ },
+ error: function(data) {
+ },
+ complete: function() {
+ afficher_adherent_importee();
+ }
+ });
}
+ });
}
function incorporer_assures_inmportes()
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index a22e38e..d252141 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -638,7 +638,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
-
+