You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/03/17 23:47:29 UTC
[jira] Commented: (TAP5-1060) FormEventManager Not Stopping Submit
for Ajax Form in IE8
[ https://issues.apache.org/jira/browse/TAP5-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846638#action_12846638 ]
Howard M. Lewis Ship commented on TAP5-1060:
--------------------------------------------
Interesting that Prototype doesn't extend the event before invoking the bound event listener function; is this considered a Prototype bug?
> 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.