You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2017/03/22 20:20:16 UTC

[5/7] cxf git commit: [CXF-5096] Fix onerror call. Patch from Florian Vielhauer applied

[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/4cae317e
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4cae317e
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4cae317e

Branch: refs/heads/3.1.x-fixes
Commit: 4cae317ee165144f4f3cc1ce41bc6ab261f59c7e
Parents: 21a7f53
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 16:14:13 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/4cae317e/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;