de
This commit is contained in:
parent
16fa528da5
commit
dce3e5f809
|
|
@ -1099,18 +1099,24 @@ function consulter_college(idCollege)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function pop_consulter_tableau_prestation()
|
function pop_consulter_tableau_prestation() {
|
||||||
{
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: $("#racineWeb").val() + "Ajaxconsultertableauprestation/",
|
url: $("#racineWeb").val() + "Ajaxconsultertableauprestation/",
|
||||||
type: 'post',
|
type: 'post',
|
||||||
error: function(errorData) {
|
error: function(errorData) {
|
||||||
|
// Optionnel : gestion d'erreur
|
||||||
},
|
},
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
$("#div_tableau_prestation").html(data);
|
$("#div_tableau_prestation").html(data);
|
||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
$("#btn_pop").click();
|
// Déplacer le modal sous <body> avant ouverture
|
||||||
|
const modal = document.getElementById("poptableauprestation");
|
||||||
|
if (modal && modal.parentNode !== document.body) {
|
||||||
|
document.body.appendChild(modal);
|
||||||
|
}
|
||||||
|
// Ouvrir le modal via le bouton caché
|
||||||
|
document.getElementById("btn_pop").click();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -595,7 +595,7 @@ $activeChildId = $menuData['child'];
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
|
||||||
<!-- Application Scripts -->
|
<!-- Application Scripts -->
|
||||||
<script src="/Js/fonctions.js?ver=2025.12.31.12"></script>
|
<script src="/Js/fonctions.js?ver=2026.01.02.00"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
setInterval(function() {
|
setInterval(function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user