]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 465746: Marking bugs duplicate got a lot more annoying
authormkanat%bugzilla.org <>
Tue, 25 Nov 2008 07:33:52 +0000 (07:33 +0000)
committermkanat%bugzilla.org <>
Tue, 25 Nov 2008 07:33:52 +0000 (07:33 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=pyrzak, a=mkanat

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

index 077e5119996d5ff45c70b77c71916a3fa69b8d7d..cdf4bca116344dd0bd30008d309720371e94b5a8 100644 (file)
   <table cellpadding="1" cellspacing="1">
     <tr>
       <td id="comment_status_commit">
+        <a name="add_comment"></a>
         [% IF user.id %]
           <label for="comment" accesskey="c"><b>Additional <u>C</u>omments</b></label>:
           [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
             <label for="newcommentprivacy">Private</label>
           [% END %]
           <br>
-          <a name="add_comment"></a>
           [% INCLUDE global/textarea.html.tmpl
                      name      = 'comment'
                      id        = 'comment'
           [% END %]
         [% END %]
         [% IF bug.user.canedit || bug.user.isreporter %]
-          (<a href="#bug_status_bottom
-              onclick="document.getElementById('bug_status').focus();return false;">edit</a>)
+          (<a href="#add_comment
+              onclick="window.setTimeout(function() { document.getElementById('bug_status').focus(); }, 10)">edit</a>)
         [% END %]
       </span>
     </td>