Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-957

Tapestry's use of the beforeunload event conflicts with how IE operates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 5.1.0.5
    • None
    • tapestry-core

    Description

      IE will generate a "beforeunload " event when a link such as "<a href='javascript:show()'>show</a>" is clicked. So Tapestry.windowUnloaded is set to true. That means all ajax request have no chance to refresh the page after this event.

      Now, I have to set Tapestry.windowUnloaded=false, every time I want to send a ajax request. I don't think thisis a good practice.

      I think there will be some more smart approach to replace Tapestry.windowUnloaded, or just remove it. because, the request is sent to the server no matter the value is true or false. This value is only discard the responses from the server.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mindhawk mindhawk
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: