diff options
author | Udo Walter | 2017-12-28 21:12:08 +0100 |
---|---|---|
committer | Udo Walter | 2017-12-28 21:12:08 +0100 |
commit | bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc (patch) | |
tree | f189e5299e5be14717c08b9f244100e0a7bc6a4f /modules-available/statistics/templates/filterbox.html | |
parent | [eventlog] added permission to view the log (diff) | |
download | slx-admin-bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc.tar.gz slx-admin-bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc.tar.xz slx-admin-bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc.zip |
[statistics] added permissions to view client statistics, delete clients and edit notes of clients
Diffstat (limited to 'modules-available/statistics/templates/filterbox.html')
-rw-r--r-- | modules-available/statistics/templates/filterbox.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/statistics/templates/filterbox.html b/modules-available/statistics/templates/filterbox.html index 32464031..758bc287 100644 --- a/modules-available/statistics/templates/filterbox.html +++ b/modules-available/statistics/templates/filterbox.html @@ -176,10 +176,12 @@ document.addEventListener("DOMContentLoaded", function () { $('#argumentSelect').show(); columns[col]['values'].forEach(function (v) { var t = v; + var disabled = true; if (col === 'location' && slxLocations['L' + v]) { t = slxLocations['L' + v].pad + ' ' + slxLocations['L' + v].name; + disabled = slxLocations['L' + v].disabled; } - $('#argumentSelect').append($('<option>', { value: v, text: t })); + $('#argumentSelect').append($('<option>', { value: v, text: t, disabled: disabled })); }); } else { $('#argumentInput').datepicker('remove'); |