]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 157692: adds "for" attribute to label tags so they work in IE 5.5.
authormyk%mozilla.org <>
Wed, 2 Feb 2005 04:03:34 +0000 (04:03 +0000)
committermyk%mozilla.org <>
Wed, 2 Feb 2005 04:03:34 +0000 (04:03 +0000)
Patch by Anne van Kesteren.  Thanks Anne!
r=myk, a=myk

template/en/default/bug/edit.html.tmpl

index 3b8cd7b06c5b0012365159c5e9862005a32c5d12..74d81b4625984eb707550149b6735f71951b403f 100644 (file)
         <a href="[% Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]">
           [% bug.bug_id %]</a>
           [% IF Param("usebugaliases") %]
-            <label title="a name for the [% terms.bug %] that can be used in place of its ID number, f.e. when adding it to a list of dependencies">
+            <label for="alias" title="a name for the [% terms.bug %] that can be used in place of its ID number, f.e. when adding it to a list of dependencies">
               <b>alias:</b>
-              <input name="alias" value="[% bug.alias FILTER html %]" size="20" maxlength="20">
+              <input id="alias" name="alias" value="[% bug.alias FILTER html %]" size="20" maxlength="20">
             </label>
           [% END %]
       </td>
 
   [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %]
     <br>
-    <label>
-      <input type="checkbox" name="addselfcc">
+    <label for="addselfcc">
+      <input type="checkbox" id="addselfcc" name="addselfcc">
       Add [% user.login FILTER html %] to CC list
     </label>
   [% END %]