summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/flag-type
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/flag-type')
-rw-r--r--template/en/default/admin/flag-type/edit.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl
index 5985e8db0..b7ff82949 100644
--- a/template/en/default/admin/flag-type/edit.html.tmpl
+++ b/template/en/default/admin/flag-type/edit.html.tmpl
@@ -61,6 +61,10 @@
<input type="hidden" name="exclusions" value="[% category.value FILTER html %]">
[% END %]
+ [%# Add a hidden button at the top of the form so that the user pressing "return"
+ # really submit the form, as expected. %]
+ <input type="submit" id="commit" value="Submit" style="display: none;">
+
<table id="form" cellspacing="0" cellpadding="4" border="0">
<tr>
<th>Name:</th>