]> 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:19:30 +0000 (02:19 +0000)
committerlpsolit%gmail.com <>
Tue, 22 Aug 2006 02:19:30 +0000 (02:19 +0000)
template/en/default/admin/flag-type/edit.html.tmpl

index ad41576cb25ecb6478190aac4ff4ec8eb237118d..be2b0b061fa8949ab2bad37588453b4f3980e5db 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>