tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Heston (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-1060) FormEventManager Not Stopping Submit for Ajax Form in IE8
Date Wed, 17 Mar 2010 23:24:27 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846661#action_12846661
] 

Brian Heston commented on TAP5-1060:
------------------------------------

I thought that was strange too, which is why I wrote the bug up for Prototype first:  https://prototype.lighthouseapp.com/projects/8886/tickets/1012-event-parameter-not-extended-in-bindaseventlistener-callback.
 I could have sworn it used to work as we both seem to expect though.


> FormEventManager Not Stopping Submit for Ajax Form in IE8
> ---------------------------------------------------------
>
>                 Key: TAP5-1060
>                 URL: https://issues.apache.org/jira/browse/TAP5-1060
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Brian Heston
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message