This commit is contained in:
KONE SOREL 2026-03-13 17:59:18 +00:00
parent 51843c5079
commit c4e8cc253d

View File

@ -48270,6 +48270,7 @@ function cocherDecocherUn(fichier_lister,id){
}
/*
function filtreTableReference(numeroTable){
donnees = "numeroTable="+numeroTable;
@ -48299,6 +48300,33 @@ function filtreTableReference(numeroTable){
});
}
*/
function filtreTableReference(numeroTable) {
const racineWeb = $("#racineWeb").val();
const $divListe = $("#div_listetables");
/*
// 1. On tue l'existant et on vide le BODY des menus flottants
if ($("#listetables").length) {
$("#listetables").selectpicker('destroy');
}
$('.bootstrap-select.bs-container').remove();
$divListe.empty();
*/
$.ajax({
url: racineWeb + "Ajaxfiltretablesreference/",
type : 'post',
data: { numeroTable: numeroTable },
success: function(data) {
// 2. On injecte le HTML
$divListe.html(data);
const $select = $("#listetables");
$divListe.find('.dropdown-toggle').focus();
}
});
}
function supprimer_choix(){