myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1531546 - /myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Date Sat, 12 Oct 2013 15:46:59 GMT
Author: lu4242
Date: Sat Oct 12 15:46:59 2013
New Revision: 1531546

URL: http://svn.apache.org/r1531546
Log:
MYFACES-3799 ProcessError in _AjaxResponse ignores errorName in IE8 (Thanks to Jan Dosoudil
for provide this patch)

Modified:
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=1531546&r1=1531545&r2=1531546&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
(original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Sat Oct 12 15:46:59 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");



Mime
View raw message