Tapestry
  1. Tapestry
  2. TAPESTRY-1561

improve the user experience of javascript-based links

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.2
    • Component/s: Framework
    • Labels:
      None

      Description

      LinkSubmits are currently rendered as <a href="#" id="submitLink_5">link</a>.
      If you click on such a link the following happens:

      • the browser window is scrolled to the top
      • the attached javascript onclick event handler is executed

      It would be much better if this "jump to the top" would not happen. It is easy to achieve by referencing an undefined anchor for example

      <a href="#TAPESTRY_UNDEFD" id="submitLink_5">link</a>

      Maybe a shorter name would be ok as well
      What do you think?

        Activity

        Norbert Sándor created issue -
        Hide
        Jesse Kuhnert added a comment -

        Fixed by a previous bug fix. URL embedded is now valid. (mostly)

        Show
        Jesse Kuhnert added a comment - Fixed by a previous bug fix. URL embedded is now valid. (mostly)
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Assignee Jesse Kuhnert [ jkuhnert ]
        Resolution Fixed [ 1 ]
        Fix Version/s 4.1.2 [ 12312202 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12406067 ] Default workflow, editable Closed status [ 12568185 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568185 ] jira [ 12591266 ]

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Norbert Sándor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development