diff options
author | Jannik Schönartz | 2017-12-05 16:45:50 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-12-05 16:45:50 +0100 |
commit | e5b2722b8168ad648919ad119e2dc4ea8b1d993f (patch) | |
tree | edb01c65eeb3d0fe883aa251b0defa8afecc3c43 /modules-available/statistics | |
parent | [locationinfo] Fix timezone offset on QWebView in summary panel (diff) | |
download | slx-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')
-rw-r--r-- | modules-available/statistics/templates/filterbox.html | 1 |
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) { |