From 7a1a458abec88aff4de71f3e3cdae27bf078b43e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 18 Oct 2025 20:53:14 +0200 Subject: [PATCH] Fixed error that permission preset was applied when pressing enter in groups and user admin This fixes issue #1039 --- templates/form/permission_layout.html.twig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/form/permission_layout.html.twig b/templates/form/permission_layout.html.twig index 166147b4..747208dd 100644 --- a/templates/form/permission_layout.html.twig +++ b/templates/form/permission_layout.html.twig @@ -70,18 +70,20 @@ {% endif %} {% if show_presets %} + {# This hidden field is there to ensure that none of the presets is submitted, if a user presses enter #} +
@@ -110,4 +112,4 @@ {% endfor %}
-{% endblock %} \ No newline at end of file +{% endblock %}