summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/statistics/templates/filterbox.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/filterbox.html b/modules-available/statistics/templates/filterbox.html
index 07aa7320..f71c918d 100644
--- a/modules-available/statistics/templates/filterbox.html
+++ b/modules-available/statistics/templates/filterbox.html
@@ -214,6 +214,10 @@ document.addEventListener("DOMContentLoaded", function () {
}, false);
+window.addEventListener('unload', function() {
+ filterSelectize.clear();
+});
+
function popupFilter(field) {
if (field != null) {
$('#columnSelect').val(field);