[
https://issues.apache.org/jira/browse/WICKET-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624102#action_12624102
]
knopp edited comment on WICKET-1793 at 8/20/08 12:26 PM:
---------------------------------------------------------------
Actually, the snippet should probably be something more like this
<script type="text/javascript">
Wicket.Ajax.Request.prototype._doGet = Wicket.Ajax.Request.prototype.doGet;
Wicket.Ajax.Request.prototype.doGet = function() {
var res = this._doGet()
if (res == true) {
this.failure();
}
return res;
}
Wicket.Ajax.Request.prototype._doPost = Wicket.Ajax.Request.prototype.doPost;
Wicket.Ajax.Request.prototype.doPost = function(body) {
var res = this._doPost(body)
if (res == true) {
this.failure();
}
return res;
}
</script>
was (Author: knopp):
Actually, the snippet should probably be something more like this
<script type="text/javascript">
Wicket.Ajax.Request.prototype._doGet = Wicket.Ajax.Request.prototype.doGet;
Wicket.Ajax.Request.prototype.doGet = function() {
var res = this._doGet()
if (res == true) {
this.failure();
}
return;
}
Wicket.Ajax.Request.prototype._doPost = Wicket.Ajax.Request.prototype.doPost;
Wicket.Ajax.Request.prototype.doPost = function(body) {
var res = this._doPost(body)
if (res == true) {
this.failure();
}
return;
}
</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.