Merge pull request #3508 from Icinga/fix/filter-entries-are-deleted-when-pushing-enter-3454

FilterEditor: Add a hidden submit button to the start of the form's m…
This commit is contained in:
Eric Lippmann 2018-07-10 09:28:35 +02:00 committed by GitHub
commit 6cddd6beed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ class FilterEditor extends AbstractWidget
. '<form action="'
. Url::fromRequest()
. '" class="editor" method="POST">'
. '<input type="submit" name="submit" value="Apply" style="display:none;"/>'
. '<ul class="tree"><li>'
. $this->renderFilter($this->filter)
. '</li></ul>'