From 6128d3416459d018541ed87c2924c6daa23de12c Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 4 Jan 2026 18:00:57 +0000 Subject: [PATCH] a --- Js/fonctions.js | 23 +++++++++++++++++++++-- Vue/gabarit.php | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) 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']; - +