diff --git a/Js/fonctions.js b/Js/fonctions.js
index 8d67dea..7436812 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -2844,7 +2844,25 @@ function ajouter_tous_adherent_importe_college()
v_msg="Attention, cela va vider tous les autres collèges! Confirmez-vous?";
v_msgEng="Be careful, this will empty all other colleges! Do you confirm?";
-
+
+ confirm_ebene(v_msg, v_msgEng).then(isConfirmed => {
+ if (isConfirmed) {
+ $.ajax({
+ url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutertousadherentaucollege/",
+ type: 'POST',
+ data: donnees,
+ success: function(data) {
+ },
+ error: function(data) {
+ },
+ complete: function() {
+ afficher_adherent_importee();
+ }
+ });
+ }
+ });
+
+ /* Anciern confirm
if(confirm_ebene(v_msg, v_msgEng))
{
$.ajax({
@@ -2859,7 +2877,8 @@ function ajouter_tous_adherent_importe_college()
afficher_adherent_importee();
}
});
- }
+ }
+ */
}
function ajouter_sans_college_adherent_importe_college()
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index bf72f77..2da89c2 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
-
+