You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/10/12 17:47:24 UTC
svn commit: r1531547 -
/myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Author: lu4242
Date: Sat Oct 12 15:47:23 2013
New Revision: 1531547
URL: http://svn.apache.org/r1531547
Log:
MYFACES-3799 ProcessError in _AjaxResponse ignores errorName in IE8 (Thanks to Jan Dosoudil for provide this patch)
Modified:
myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Modified: myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=1531547&r1=1531546&r2=1531547&view=diff
==============================================================================
--- myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2.1.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Sat Oct 12 15:47:23 2013
@@ -267,7 +267,7 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponse",
* <error-message><![CDATA[message]]></error-message>
* <error>
*/
- var errorName = node.firstChild.textContent || "",
+ var errorName = node.firstChild.textContent || node.firstChild.text || "",
errorMessage = node.childNodes[1].firstChild.data || "";
this.attr("impl").sendError(request, context, this.attr("impl").SERVER_ERROR, errorName, errorMessage, "myfaces._impl.xhrCore._AjaxResponse", "processError");