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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • 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

          malfunction84 Mark Lewis created issue -
          mindless Alan Harder made changes -
          Field Original Value New Value
          Assignee mindless [ mindless ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          ircbot Jenkins IRC Bot made changes -
          Component/s core [ 15593 ]
          Component/s gui [ 15492 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137138 ] JNJira + In-Review [ 204391 ]

            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: