]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 275613: pressing [enter] in a textarea in editflagtypes.cgi results in an additio...
authorlpsolit%gmail.com <>
Tue, 22 Aug 2006 02:15:11 +0000 (02:15 +0000)
committerlpsolit%gmail.com <>
Tue, 22 Aug 2006 02:15:11 +0000 (02:15 +0000)
template/en/default/admin/flag-type/edit.html.tmpl

index 5985e8db0207f241c37c927c4cfdc7b7fb9b89de..b7ff82949c9dc15ab044a28cdb985108efe6a648 100644 (file)
     <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>