Repository: wicket
Updated Branches:
  refs/heads/master 0491709c1 -> 260a48356


WICKET-6376: allow non-http(s) uris in ajax redirects

Remove debug leftover


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

Branch: refs/heads/master
Commit: 260a483561e8d8470b0dc2dcd1dcdd66c788136d
Parents: 0491709
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Thu Jun 1 00:07:13 2017 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Thu Jun 1 00:07:13 2017 +0200

----------------------------------------------------------------------
 wicket-core/src/test/js/ajax.js | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/260a4835/wicket-core/src/test/js/ajax.js
----------------------------------------------------------------------
diff --git a/wicket-core/src/test/js/ajax.js b/wicket-core/src/test/js/ajax.js
index def9477..71f9fce 100644
--- a/wicket-core/src/test/js/ajax.js
+++ b/wicket-core/src/test/js/ajax.js
@@ -1404,7 +1404,6 @@ jQuery(document).ready(function() {
                                        "readyState": 4,
                                        getResponseHeader: function 
(headerName) {
                                                if ('Ajax-Location' === 
headerName) {
-                                                       
Wicket.Ajax.Call.prototype.processAjaxResponse = originalProcessAjaxResponse;
                                                        return 'http://a.b.c';
                                                }
                                                return 
jqXHR.getResponseHeader(headerName);
@@ -1441,7 +1440,6 @@ jQuery(document).ready(function() {
                                        "readyState": 4,
                                        getResponseHeader: function 
(headerName) {
                                                if ('Ajax-Location' === 
headerName) {
-                                                       
Wicket.Ajax.Call.prototype.processAjaxResponse = originalProcessAjaxResponse;
                                                        return 
'chrome-extensions://a.b.c';
                                                }
                                                return 
jqXHR.getResponseHeader(headerName);
@@ -1477,7 +1475,6 @@ jQuery(document).ready(function() {
                                        "readyState": 4,
                                        getResponseHeader: function 
(headerName) {
                                                if ('Ajax-Location' === 
headerName) {
-                                                       
Wicket.Ajax.Call.prototype.processAjaxResponse = originalProcessAjaxResponse;
                                                        return 
'location-without-scheme';
                                                }
                                                return 
jqXHR.getResponseHeader(headerName);

Reply via email to