Repository: wicket Updated Branches: refs/heads/master ed7aa2531 -> a22e9f209
wicket-ajax-jquery: supply additional args to fh function to match AbstractDefaultAjaxBehavior.FAILURE_HANDLER_FUNCTION_TEMPLATE Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/39f14866 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/39f14866 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/39f14866 Branch: refs/heads/master Commit: 39f1486698ce431c898d32a3df319e3c52ed59f5 Parents: ed7aa25 Author: Sander Evers <[email protected]> Authored: Thu Jan 28 13:31:26 2016 +0100 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Thu Jan 28 14:33:42 2016 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/39f14866/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js index 65ab38c..9db558a 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js @@ -1118,7 +1118,7 @@ Wicket.Log.error("Wicket.Ajax.Call.failure: Error while parsing response: " + errorMessage); } var attrs = context.attrs; - this._executeHandlers(attrs.fh, attrs, errorMessage); + this._executeHandlers(attrs.fh, attrs, jqXHR, errorMessage, textStatus); Wicket.Event.publish(Wicket.Event.Topic.AJAX_CALL_FAILURE, attrs, jqXHR, errorMessage, textStatus); return FunctionsExecuter.DONE;
