WICKET-6032 don't call done on redirect, it will be invoked from complete later


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/a30bff2b
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/a30bff2b
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/a30bff2b

Branch: refs/heads/lambdas
Commit: a30bff2baaf78705debef388c3226713be4f8a86
Parents: d22b004
Author: Sven Meier <[email protected]>
Authored: Thu Nov 12 11:02:06 2015 +0100
Committer: Sven Meier <[email protected]>
Committed: Thu Nov 12 11:05:16 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js   | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/a30bff2b/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 addf5cc..68dfefe 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
@@ -774,7 +774,6 @@
                                        // In case the page isn't really 
redirected. For example say the redirect is to an octet-stream.
                                        // A file download popup will appear 
but the page in the browser won't change.
                                        this.success(context);
-                                       this.done(context.attrs);
 
                                        var rhttp  = /^http:\/\//,  // checks 
whether the string starts with http://
                                            rhttps = /^https:\/\//; // checks 
whether the string starts with https://

Reply via email to