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

In IE8, forms that should submit using Ajax are triggering full page requests due to a client-side JavaScript error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • tapestry-core
    • None

    Description

      The handleSubmit function in Tapestry.FormEventManager takes a domevent argument, which it expects is extended and has the stop() function. This works in Firefox since the event is already extended, but breaks in IE.

      It looks like this was introduced in revision 919693 of tapestry.js on 3/6/2010 when around line 1250 "Event.stop(domevent);" was changed to "domevent.stop();".

      The prototype recommendation is to call "Event.extend(domevent);" at the top of any callback bound using bindAsEventListener.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            bheston Brian Heston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: