v
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user