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

Matej Knopp commented on WICKET-1793:
-------------------------------------

I don't think the we should invoke failure handler when precondition fails, 
because we don't invoke before handlers either. 
Something like this might fix the issue for you locally

<script type="text/javascript">
 Wicket.Ajax.Request.prototype._done = Wicket.Ajax.Request.prototype.done;
  Wicket.Ajax.Request.prototype.done = function() { 
     this.failure(); 
     this._done(); 
  }
</script>

> Problem with submit
> -------------------
>
>                 Key: WICKET-1793
>                 URL: https://issues.apache.org/jira/browse/WICKET-1793
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.2
>            Reporter: Eduardo Gambogi Cardoso
>            Assignee: Matej Knopp
>            Priority: Blocker
>             Fix For: 1.3.2
>
>
> When precondition fail, the ajax indicator never gone and i can submit 
> anything until i refresh the browser

-- 
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