From 83321404ab55d50fb0de5721bff1a9554a1c2637 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 9 Nov 2023 21:22:20 +0100 Subject: [PATCH] fix list events --- web/html/events.html | 2 +- web/js/lists.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/web/html/events.html b/web/html/events.html index 639d999..f0797eb 100644 --- a/web/html/events.html +++ b/web/html/events.html @@ -129,7 +129,7 @@

Évènements

- +
diff --git a/web/js/lists.js b/web/js/lists.js index 0773f35..a6287f3 100644 --- a/web/js/lists.js +++ b/web/js/lists.js @@ -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