From eae4090944fb922d44899913b6d5cdaa97dc1041 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 2 Aug 2023 16:50:08 +0200 Subject: [statistics] Add button to copy existing rule --- .../eventlog/templates/page-filters-edit-rule.html | 12 ++++++-- .../eventlog/templates/page-filters-rules.html | 36 ++++++++++++---------- 2 files changed, 30 insertions(+), 18 deletions(-) (limited to 'modules-available/eventlog/templates') diff --git a/modules-available/eventlog/templates/page-filters-edit-rule.html b/modules-available/eventlog/templates/page-filters-edit-rule.html index 0678dd97..318a8656 100644 --- a/modules-available/eventlog/templates/page-filters-edit-rule.html +++ b/modules-available/eventlog/templates/page-filters-edit-rule.html @@ -1,4 +1,12 @@ -
{{lang_filterExampleHelpText}}
@@ -199,7 +207,7 @@ } }); }; - $fkInputs.on('input', chFn).change(chFn); + $fkInputs.on('input', chFn).change(chFn).each(chFn); typeFieldChangeUpdate(); }); diff --git a/modules-available/eventlog/templates/page-filters-rules.html b/modules-available/eventlog/templates/page-filters-rules.html index 524e71b2..56bf0871 100644 --- a/modules-available/eventlog/templates/page-filters-rules.html +++ b/modules-available/eventlog/templates/page-filters-rules.html @@ -14,22 +14,26 @@ {{#filters}} -