diff --git a/Js/fonctions.js b/Js/fonctions.js
index 79e32c0..b636342 100644
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -18551,40 +18551,32 @@ function valider_rdv()
donnees += '&dateRdvAccordee='+dateRdvAccordee+'&heureRdvAccordee='+heureRdvAccordee;
donnees += '&motifReponseRdv='+motifReponseRdv;
-
+ alert("valider_rdv => "+donnees);
+ return;
+
v_msg="Confirmez-vous la modification de votre demande?";
v_msgEng="Do you confirm the modification of your request?";
- confirm_ebene_sweet(v_msg, v_msgEng)
- .then((isConfirmed) => {
- if (isConfirmed) {
- // L'utilisateur a confirmé
-
- vLink = "Ajaxdemanderdv/valider/";
-
- $.ajax({
- type: "POST",
- url: $("#racineWeb").val()+vLink,
- data:donnees,
- error: function(errorData) {
- },
- success: function(data) {
- //alert(data);
- // $('#div_test_gabarit').html(data);
-
- },
- complete: function() {
-
- historique_rdv();
- }
+ if(confirm_ebene(v_msg, v_msgEng))
+ {
+ vLink = "Ajaxdemanderdv/valider/";
+ $.ajax({
+ type: "POST",
+ url: $("#racineWeb").val()+vLink,
+ data:donnees,
+ error: function(errorData) {
+ },
+ success: function(data) {
+ alert(data);
+ $('#div_test_gabarit').html(data);
- });
-
- } else {
- // L'utilisateur a annulé
- console.log("Confirmation refusée");
- }
- });
+ },
+ complete: function() {
+ // historique_rdv();
+ }
+
+ });
+ }
}
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index 70fae26..ebfacc8 100644
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -263,7 +263,7 @@ actesHarmonises : = $_SESSION['p_actesHarmonises'] ?>
-
+