[ 
https://issues.apache.org/jira/browse/WICKET-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908389#action_12908389
 ] 

Hudson commented on WICKET-3040:
--------------------------------

Integrated in Apache Wicket 1.5.x #324 (See 
[https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/324/])
    WICKET-3040 Ajax form submit fails in Wicket 1.4.11/Firefox3.6

Do not fire form.submit() because this makes normal (non-ajax) call and calls 
just Form.onSubmit().
Just call form.onsubmit() if there is such and do not do anything if it returns 
negative result

merge r996157 from wicket 1.4.x


> Ajax form submit fails in Wicket 1.4.11/Firefox3.6
> --------------------------------------------------
>
>                 Key: WICKET-3040
>                 URL: https://issues.apache.org/jira/browse/WICKET-3040
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.11, 1.5-M2
>         Environment: Wicket 1.4.11, Firefox 3.6.10pre
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 1.4.12, 1.5-M2
>
>         Attachments: wicket-3040.tgz
>
>
> The very first ajax form submit fails in the attached quickstart.
> The cause is :
> Revision 988809 - (view) (download) (as text) (annotate) - [select for diffs]
> Modified Wed Aug 25 05:22:58 2010 UTC (2 weeks, 2 days ago) by ivaynberg
> AjaxSubmitLink not calling the onsubmit event handler
> Issue: WICKET-2807
> commenting wicket-ajax.js, line 1096:
> submitForm: function(form, submitButton) {
>           if (!Wicket.Event.fire(form, "submit")) return;  <<<<<< THIS
>           if (this.handleMultipart(form, submitButton)) {
> fixes the problem

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

Reply via email to