f
This commit is contained in:
parent
22127dd080
commit
0c1c1da804
|
|
@ -216,6 +216,7 @@ function alert_ebene(p_msg, p_msg_eng)
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
function alert_ebene(msgFr, msgEn) {
|
function alert_ebene(msgFr, msgEn) {
|
||||||
const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR";
|
const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR";
|
||||||
const message = (codeLangue === "en_US") ? msgEn : msgFr;
|
const message = (codeLangue === "en_US") ? msgEn : msgFr;
|
||||||
|
|
@ -223,6 +224,22 @@ function alert_ebene(msgFr, msgEn) {
|
||||||
// Bloquant : l'utilisateur doit cliquer sur OK
|
// Bloquant : l'utilisateur doit cliquer sur OK
|
||||||
window.alert(message);
|
window.alert(message);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
function alert_ebene(p_msg, p_msg_eng) {
|
||||||
|
const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR";
|
||||||
|
const message = (codeLangue === "en_US") ? p_msg_eng : p_msg;
|
||||||
|
|
||||||
|
return Swal.fire({
|
||||||
|
text: message,
|
||||||
|
icon: 'info',
|
||||||
|
confirmButtonText: (codeLangue === "en_US") ? 'OK' : 'D\'accord'
|
||||||
|
}).then(() => {
|
||||||
|
// Ici tu mets l'action suivante, elle ne s'exécute qu'après clic sur OK
|
||||||
|
console.log("Utilisateur a validé le message");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
function alert_ebene(msgFr, msgEn) {
|
function alert_ebene(msgFr, msgEn) {
|
||||||
|
|
|
||||||
|
|
@ -638,7 +638,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
|
||||||
<!-- Application Scripts -->
|
<!-- Application Scripts -->
|
||||||
<script src="/Js/fonctions.js?ver=2026.01.05.36"></script>
|
<script src="/Js/fonctions.js?ver=2026.01.06.00"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
raffraichier_gabarit();
|
raffraichier_gabarit();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user