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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Brian Heston
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development