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

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

Another try

<script type="text/javascript">
  Wicket.Ajax.Call.prototype._call = Wicket.Ajax.Call.prototype.call;
  Wicket.Ajax.Call.prototype.call = function() {
     var res = this._call()
     if (res == true) {
         Wicket.Ajax.invokePostCallHandlers();
         this.successHandler();
     }
     return res;
  }

  Wicket.Ajax.Call.prototype._post = Wicket.Ajax.Call.prototype.post;
  Wicket.Ajax.Call.prototype.post = function(body) {
     var res = this._post(body)
     if (res == true) {
         Wicket.Ajax.invokePostCallHandlers();
         this.successHandler();
     }
     return res;
  }
 
</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