Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7041

Console outline anchors ("Executed Ant Targets") don't work properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Hudson 1.367
      Google Chrome 5.0, IE8, and Firefox 3.6
      Windows 7 Enterprise
    • Similar Issues:

      Description

      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>
      

        Attachments

          Activity

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              malfunction84 Mark Lewis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: