diff options
Diffstat (limited to 'modules-available/eventlog/templates')
-rw-r--r-- | modules-available/eventlog/templates/page-filters-edit-rule.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules-available/eventlog/templates/page-filters-edit-rule.html b/modules-available/eventlog/templates/page-filters-edit-rule.html index 2019406a..a9251f53 100644 --- a/modules-available/eventlog/templates/page-filters-edit-rule.html +++ b/modules-available/eventlog/templates/page-filters-edit-rule.html @@ -71,6 +71,11 @@ {{/filter}} <datalist id="filter-keys"> </datalist> + <datalist id="machine-filter-keys"> + {{#machine_keys}} + <option>{{.}}</option> + {{/machine_keys}} + </datalist> <div> <p>{{lang_hintRegex}}</p> </div> @@ -146,6 +151,7 @@ // Population function function setAutocomplete(type) { var t = typeSamples[type]; + var m = false; $list.empty(); if (!t) return; @@ -154,6 +160,10 @@ if (!t.hasOwnProperty(k)) continue; $list.append($('<option>').text(k)); + if (k === 'machineuuid') m = true; + } + if (m) { + $list.append($('#machine-filter-keys').clone()); } } |