-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Hudson 1.367
Google Chrome 5.0, IE8, and Firefox 3.6
Windows 7 Enterprise
Clicking the console outline anchors doesn't work correctly in any of the browsers I've tried. In IE8, nothing happens. In Chrome and Firefox, it scrolls to the wrong place in the page.
This is probably because there are duplicate anchors: one in the console output and another in the outline itself. The anchors should be removed from the outline.
HTML Snippet
<td id="console-outline-body"> <li> <a href="#ant-target-0">-init</a> <a name="ant-target-0"></a><!-- remove this --> </li> ... </td> ... <pre> ... <b class="ant-target"> -init <a name="ant-target-0"></a><!-- keep this --> </b> ... </pre>
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/resources/hudson/tasks/_ant/AntTargetNote/script.js
http://jenkins-ci.org/commit/33171
Log:
JENKINS-7041add anchor after copying e.innerHTML, so anchor isn't added in 2 places.