summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/filterbox.html
diff options
context:
space:
mode:
authorJannik Schönartz2017-12-05 16:45:50 +0100
committerJannik Schönartz2017-12-05 16:45:50 +0100
commite5b2722b8168ad648919ad119e2dc4ea8b1d993f (patch)
treeedb01c65eeb3d0fe883aa251b0defa8afecc3c43 /modules-available/statistics/templates/filterbox.html
parent[locationinfo] Fix timezone offset on QWebView in summary panel (diff)
downloadslx-admin-e5b2722b8168ad648919ad119e2dc4ea8b1d993f.tar.gz
slx-admin-e5b2722b8168ad648919ad119e2dc4ea8b1d993f.tar.xz
slx-admin-e5b2722b8168ad648919ad119e2dc4ea8b1d993f.zip
[statistics] Fixed a bug where the filterbox kept the old dropdown entries
Diffstat (limited to 'modules-available/statistics/templates/filterbox.html')
-rw-r--r--modules-available/statistics/templates/filterbox.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/filterbox.html b/modules-available/statistics/templates/filterbox.html
index c2630ed9..31daabc6 100644
--- a/modules-available/statistics/templates/filterbox.html
+++ b/modules-available/statistics/templates/filterbox.html
@@ -170,6 +170,7 @@ document.addEventListener("DOMContentLoaded", function () {
$('#argumentInput').datepicker({format : 'yyyy-mm-dd'});
$('#argumentSelect').hide();
} else if(columns[col]['type'] == 'enum') {
+ $('#argumentSelect').empty();
$('#argumentInput').hide();
$('#argumentSelect').show();
columns[col]['values'].forEach(function (v) {