derte
This commit is contained in:
parent
9d79a35636
commit
019ea8cd61
|
|
@ -4583,12 +4583,21 @@ function ajax_contexter_police(){
|
|||
|
||||
|
||||
function ouvrir_vue(vue) {
|
||||
const modalEl = document.getElementById('pop_police');
|
||||
const modal = bootstrap.Modal.getInstance(modalEl);
|
||||
idPolice = $("#idPolice").val();
|
||||
|
||||
if (modal) {
|
||||
modal.hide(); // fermeture propre
|
||||
}
|
||||
if (idPolice<=" ")
|
||||
{
|
||||
v_msg="Veuillez sélectionner une police!";
|
||||
v_msgEng="Please select a policy!";
|
||||
|
||||
alert_ebene(v_msg, v_msgEng).then(() => {
|
||||
// Ce code ne s’exécute qu’après clic sur OK
|
||||
$("#idPolice").focus();
|
||||
|
||||
return;
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
window.location.assign($("#racineWeb").val() + vue + "/");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -687,7 +687,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
|||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!-- Application Scripts -->
|
||||
<script src="/Js/fonctions.js?ver=2026.02.17.06"></script>
|
||||
<script src="/Js/fonctions.js?ver=2026.02.17.07"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
raffraichier_gabarit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user