diff --git a/Js/fonctions.js b/Js/fonctions.js index feab2c6..9dcacd4 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -2928,21 +2928,23 @@ function ajouter_sans_college_adherent_importe_college() v_msg="Attention! Confirmez-vous cette opération?"; v_msgEng="Warning! Do you confirm this operation?"; - if(confirm_ebene(v_msg, v_msgEng)) - { - $.ajax({ - url: $("#racineWeb").val()+"Ajaximporterlisteassure/ajoutersanscollegeadherentaucollege/", - 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/ajoutersanscollegeadherentaucollege/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_adherent_importee(); + } + }); } + }); + } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 8203d66..a22e38e 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -638,7 +638,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +