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']; - +