df
This commit is contained in:
parent
51843c5079
commit
c4e8cc253d
|
|
@ -48270,6 +48270,7 @@ function cocherDecocherUn(fichier_lister,id){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
function filtreTableReference(numeroTable){
|
function filtreTableReference(numeroTable){
|
||||||
|
|
||||||
donnees = "numeroTable="+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(){
|
function supprimer_choix(){
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user