You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2011/11/26 16:54:54 UTC
svn commit: r1206466 -
/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js
Author: werpu
Date: Sat Nov 26 15:54:53 2011
New Revision: 1206466
URL: http://svn.apache.org/viewvc?rev=1206466&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3409
Modified:
myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js
Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js?rev=1206466&r1=1206465&r2=1206466&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js Sat Nov 26 15:54:53 2011
@@ -141,8 +141,15 @@ _MF_CLS(_PFX_XHR + "engine.Xhr1", myface
},
_transferRequestValues: function() {
- this._Lang.mixMaps(this, this._xhrObject, true, null,
- {responseText:1,responseXML:1,status:1,statusText:1,response:1});
+ //this._Lang.mixMaps(this, this._xhrObject, true, null,
+ // {responseText:1,responseXML:1,status:1,statusText:1,response:1});
+ var UDEF = "undefined";
+ var xhr = this._xhrObject;
+ this.responseText = (UDEF != typeof xhr.responseText)?xhr.responseText: null;
+ this.responseXML = (UDEF != typeof xhr.responseXML)?xhr.responseXML: null;
+ this.status = (UDEF != typeof xhr.status)?xhr.status: null;
+ this.statusText = (UDEF != typeof xhr.statusText)?xhr.statusText: null;
+ this.response = (UDEF != typeof xhr.response)?xhr.response: null;
},
_startTimeout: function() {