This commit is contained in:
KANE LAZENI 2026-01-04 21:52:54 +00:00
parent 8abdecea6b
commit f1a4275a56
2 changed files with 30 additions and 4 deletions

View File

@ -218,7 +218,7 @@ function alert_ebene(p_msg, p_msg_eng)
* CONFIRMATION * CONFIRMATION
* Affiche une boîte de dialogue Oui/Non et retourne une promesse. * Affiche une boîte de dialogue Oui/Non et retourne une promesse.
*/ */
/*
function confirm_ebene(p_msg, p_msg_eng) { function confirm_ebene(p_msg, p_msg_eng) {
const codeLangue = $("#codeLangue").val(); const codeLangue = $("#codeLangue").val();
const message = (codeLangue === "en_US") ? p_msg_eng : p_msg; 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' cancelButtonText: codeLangue === "en_US" ? 'No' : 'Non'
}).then(result => result.isConfirmed); }).then(result => result.isConfirmed);
} }
*/
/*
function confirm_ebene(p_msg, p_msg_eng) function confirm_ebene(p_msg, p_msg_eng)
{ {
codeLangue = $("#codeLangue").val(); codeLangue = $("#codeLangue").val();
@ -245,7 +246,7 @@ function confirm_ebene(p_msg, p_msg_eng)
return confirm(p_msg); return confirm(p_msg);
} }
} }
*/
/** /**
* SAISIE TEXTE (PROMPT) * 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/");
}
});
}

View File

@ -635,7 +635,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.04.59"></script> <script src="/Js/fonctions.js?ver=2026.01.04.61"></script>
<script type="text/javascript"> <script type="text/javascript">
raffraichier_gabarit(); raffraichier_gabarit();