summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-22 04:15:11 +0200
committerlpsolit%gmail.com <>2006-08-22 04:15:11 +0200
commit7431692fa881839cfd0c447beeed11b80c42642f (patch)
treedc9bed618dcd47720a7321bd17efe2ca5eb86aa5 /template/en
parent809525c41a0ff635d83c4df4a22cd8095e46cfc7 (diff)
downloadbugzilla-7431692fa881839cfd0c447beeed11b80c42642f.tar.gz
bugzilla-7431692fa881839cfd0c447beeed11b80c42642f.tar.xz
Bug 275613: pressing [enter] in a textarea in editflagtypes.cgi results in an addition to the inclusion list instead of saving changes - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=myk
Diffstat (limited to 'template/en')
-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>