Skip to content

Commit 43601e0

Browse files
committed
Update label when pressing enter in label dialog
Fixes issue #996
1 parent 56f82a7 commit 43601e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/label_system/dialog.html.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
{% block card_content %}
1111
{{ form_start(form) }}
1212

13+
{# Default submit to use when pressing enter. #}
14+
<input type="submit" name="label_dialog[update]" class="d-none">
15+
1316
<ul class="nav nav-tabs">
1417
<li class="nav-item">
1518
<a class="nav-link active" data-bs-toggle="tab" id="common-tab" role="tab" aria-controls="common" aria-selected="true" href="#common"

0 commit comments

Comments
 (0)