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 2012/11/06 12:28:29 UTC
svn commit: r1406101 -
/myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Author: werpu
Date: Tue Nov 6 11:28:29 2012
New Revision: 1406101
URL: http://svn.apache.org/viewvc?rev=1406101&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3624 fixing dead code
Modified:
myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Modified: myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=1406101&r1=1406100&r2=1406101&view=diff
==============================================================================
--- myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Tue Nov 6 11:28:29 2012
@@ -186,14 +186,14 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponse",
// view state is updated.
//set the viewstates of all outer forms parents of our updated elements
- var _T = this;
+
_Lang.arrForEach(mfInternal._updateForms, function (elem) {
- _T._setVSTCWForm(context, elem, mfInternal.appliedViewState, this.P_VIEWSTATE);
+ this._setVSTCWForm(context, elem, mfInternal.appliedViewState, this.P_VIEWSTATE);
}, 0, this);
//set the viewstate of all forms within our updated elements
_Lang.arrForEach(mfInternal._updateElems, function (elem) {
- _T._setVSTCWInnerForms(context, elem, mfInternal.appliedViewState, this.P_VIEWSTATE);
+ this._setVSTCWInnerForms(context, elem, mfInternal.appliedViewState, this.P_VIEWSTATE);
}, 0, this);
},
@@ -213,14 +213,14 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponse",
return;
}
//set the client window of all outer form of updated elements
- var _T = this;
+
_Lang.arrForEach(mfInternal._updateForms, function (elem) {
- _T._setVSTCWForm(context, elem, mfInternal.appliedClientWindow, this.P_CLIENTWINDOW);
+ this._setVSTCWForm(context, elem, mfInternal.appliedClientWindow, this.P_CLIENTWINDOW);
}, 0, this);
//set the client window of all forms within our updated elements
_Lang.arrForEach(mfInternal._updateElems, function (elem) {
- _T._setVSTCWInnerForms(context, elem, mfInternal.appliedClientWindow, this.P_CLIENTWINDOW);
+ this._setVSTCWInnerForms(context, elem, mfInternal.appliedClientWindow, this.P_CLIENTWINDOW);
}, 0, this);
},