From f1a4275a56dff814ae38019fb3e3fdeeab3091df Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 4 Jan 2026 21:52:54 +0000 Subject: [PATCH] a --- Js/fonctions.js | 32 +++++++++++++++++++++++++++++--- Vue/gabarit.php | 2 +- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 847e5eb..700a727 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -218,7 +218,7 @@ function alert_ebene(p_msg, p_msg_eng) * CONFIRMATION * Affiche une boƮte de dialogue Oui/Non et retourne une promesse. */ -/* + function confirm_ebene(p_msg, p_msg_eng) { const codeLangue = $("#codeLangue").val(); const message = (codeLangue === "en_US") ? p_msg_eng : p_msg; @@ -231,7 +231,8 @@ function confirm_ebene(p_msg, p_msg_eng) { cancelButtonText: codeLangue === "en_US" ? 'No' : 'Non' }).then(result => result.isConfirmed); } -*/ + +/* function confirm_ebene(p_msg, p_msg_eng) { codeLangue = $("#codeLangue").val(); @@ -245,7 +246,7 @@ function confirm_ebene(p_msg, p_msg_eng) return confirm(p_msg); } } - +*/ /** * SAISIE TEXTE (PROMPT) @@ -3067,3 +3068,28 @@ function incorporer_assures_inmportes() } */ } + +function afficher_police_id() +{ + idPolice=$("#idPolice_C" ).val(); + + if (idPolice>"") + { + ajax_context_police_afficher(idPolice); + } +} + +function ajax_context_police_afficher(idPolice) +{ + donnees = 'idPolice='+idPolice; + $.ajax({ + url: $("#racineWeb").val()+"Ajaxcontextpolice/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + complete: function() { + window.location.assign($("#racineWeb" ).val()+"Fichepolice/"); + } + }); +} diff --git a/Vue/gabarit.php b/Vue/gabarit.php index b2c8b58..2d55be1 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +