diff --git a/Js/fonctions.js b/Js/fonctions.js
index 3a57275..93a15d6 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -28804,9 +28804,11 @@ function no_presciption()
const codeLangue = $("#codeLangue").val();
// Appel d'une boîte de confirmation personnalisée, adaptée à la langue
+
confirm_ebene_sweet(
- v_msg, v_msgEng,
- () => { // Callback exécuté en cas de confirmation "Oui/Yes"
+ v_msg, v_msgEng
+ ).then((confirmed) => {
+ if (confirmed) {
$.ajax({
url: $("#racineWeb").val() + "Ajaxenregistrerprescription/noprescription/",
type: 'post',
@@ -28822,6 +28824,6 @@ function no_presciption()
}
});
}
- );
+ });
}
}
diff --git a/Vue/gabarit.php b/Vue/gabarit.php
index c270bed..ef07008 100755
--- a/Vue/gabarit.php
+++ b/Vue/gabarit.php
@@ -909,7 +909,7 @@
-
+