Repository: cxf
Updated Branches:
  refs/heads/master e4cb2ea43 -> 162282359


[CXF-5096] Fix onerror call.
Patch from Florian Vielhauer applied


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

Branch: refs/heads/master
Commit: f186ffe0e4aa3d911a5837fc6f0b9258b5e6dc96
Parents: e4cb2ea
Author: Daniel Kulp <dk...@apache.org>
Authored: Wed Mar 22 15:25:47 2017 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Mar 22 15:25:47 2017 -0400

----------------------------------------------------------------------
 .../src/main/resources/org/apache/cxf/javascript/cxf-utils.js      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/f186ffe0/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
----------------------------------------------------------------------
diff --git 
a/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
 
b/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
index 8c9f451..00b0c41 100644
--- 
a/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
+++ 
b/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
@@ -914,7 +914,7 @@ function org_apache_cxf_client_onReadyState() {
                        this.utils
                                        .trace("onreadystatechange DONE ERROR 
retrieving status (connection error?)");
                        if (this.onerror != null) {
-                               this.onerror(e);
+                               this.onerror(this);
                        }
                        return;
 

Reply via email to