From 1376bc303bed8453fa678210de10ed1adb73036b Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 13 Mar 2026 11:15:45 +0000 Subject: [PATCH] a --- Js/fonctions.js | 8 +++++--- Vue/gabarit.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) 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 @@ - +