Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1561

improve the user experience of javascript-based links

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.2
    • 4.1.2
    • Framework
    • 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?

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            snorbi Norbert Sándor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: