This commit is contained in:
2026-01-03 09:53:26 +00:00
parent 345e11837e
commit 948e6c0ceb
2 changed files with 20 additions and 0 deletions

View File

@@ -1568,3 +1568,15 @@ function controle_date_avenant()
$("#dateAvenant").readable();
$("#motifavenant").readable();
}
function ouvrirModal(idModal) {
const modal = document.getElementById(idModal);
if (modal && modal.parentNode !== document.body) {
document.body.appendChild(modal); // extrait le modal de son contexte
}
const bsModal = new bootstrap.Modal(modal, {
backdrop: 'static',
keyboard: false
});
bsModal.show();
}