You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/04/19 18:28:22 UTC
[jira] Assigned: (WICKET-1553) Pass the event to the event handler
in HeaderResponse.renderOnEventJavascript
[ https://issues.apache.org/jira/browse/WICKET-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-1553:
-------------------------------------
Assignee: Matej Knopp
> Pass the event to the event handler in HeaderResponse.renderOnEventJavascript
> ------------------------------------------------------------------------------
>
> Key: WICKET-1553
> URL: https://issues.apache.org/jira/browse/WICKET-1553
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.2
> Environment: Any
> Reporter: Martin Grigorov
> Assignee: Matej Knopp
> Priority: Trivial
>
> Index: wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HeaderResponse.java
> ===================================================================
> --- wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HeaderResponse.java (revision 648178)
> +++ wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HeaderResponse.java (working copy)
> @@ -312,7 +312,7 @@
> {
> renderJavascriptReference(WicketEventReference.INSTANCE);
> JavascriptUtils.writeJavascript(getResponse(), "Wicket.Event.add(" + target +
> - ", \"" + event + "\", function() { " + javascript + ";});");
> + ", \"" + event + "\", function(event) { " + javascript + ";});");
> markRendered(token);
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.