From b8974e8bfddc6d11d9a65afc7b403f97683366fc Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Mon, 9 Feb 2026 18:19:33 +0000 Subject: [PATCH] fran --- Js/fonctions.js | 14 +++++++++++--- Vue/gabarit.php | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 42e9642..dbab906 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -4608,11 +4608,19 @@ function ajax_contexter_police(){ } -function ouvrir_vue(vue) -{ - window.location.assign($("#racineWeb" ).val()+vue+"/"); + +function ouvrir_vue(vue) { + const modalEl = document.getElementById('pop_police'); + const modal = bootstrap.Modal.getInstance(modalEl); + + if (modal) { + modal.hide(); // fermeture propre + } + + window.location.assign($("#racineWeb").val() + vue + "/"); } + function afficher_users_client_id(idUtilisateur) { window.location.assign($("#racineWeb" ).val()+"Ficheuserrhclient/"+idUtilisateur+"/"); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 0ccebb7..080052d 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -687,7 +687,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +