forked from v4l3n71n/covas-bo
fix list events
This commit is contained in:
parent
162edf5857
commit
83321404ab
@ -129,7 +129,7 @@
|
|||||||
<h1 class="h2">Évènements</h1>
|
<h1 class="h2">Évènements</h1>
|
||||||
<div class="btn-toolbar mb-2 mb-md-0">
|
<div class="btn-toolbar mb-2 mb-md-0">
|
||||||
<div class="btn-group me-2">
|
<div class="btn-group me-2">
|
||||||
<button type="button" id=addEvent class="btn btn-sm btn-outline-secondary">Ajouter un évènement</button>
|
<button type="button" id=addUser class="btn btn-sm btn-outline-secondary">Ajouter un évènement</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -216,8 +216,13 @@ document.getElementById("searchUser").addEventListener("keydown", function(ev){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (pathURL=="users"){
|
||||||
|
listInput = ["Status", "Roles", "Pages" ]
|
||||||
|
}
|
||||||
|
if (pathURL=="events"){
|
||||||
|
listInput = ["Status", "Pages" ]
|
||||||
|
}
|
||||||
|
|
||||||
listInput = ["Status", "Roles", "Pages" ]
|
|
||||||
for (var i=0; i<listInput.length; i++){
|
for (var i=0; i<listInput.length; i++){
|
||||||
document.getElementById("input"+listInput[i]).addEventListener("change", function(e){
|
document.getElementById("input"+listInput[i]).addEventListener("change", function(e){
|
||||||
var param = buildParam("inputSelect");
|
var param = buildParam("inputSelect");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user