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 2017/10/10 09:55:32 UTC
svn commit: r1811656 -
/myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Author: werpu
Date: Tue Oct 10 09:55:31 2017
New Revision: 1811656
URL: http://svn.apache.org/viewvc?rev=1811656&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-4156,
https://issues.apache.org/jira/browse/MYFACES-4160
Doras example now works
Modified:
myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
Modified: myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=1811656&r1=1811655&r2=1811656&view=diff
==============================================================================
--- myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2.3.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Tue Oct 10 09:55:31 2017
@@ -251,7 +251,7 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponse",
//per JSF 2.3 spec the identifier of the element must be unique in the dom tree
//otherwise we will break the html spec here
- element.innerHTML = ["<input type='hidden'", "id='", this._fetchUniqueId(prefix, identifier), "' name='", prefix + identifier, "' value='", value, "' />"].join("");
+ element.innerHTML = ["<input type='hidden'", "id='", this._fetchUniqueId(prefix, identifier), "' name='", identifier, "' value='", value, "' />"].join("");
//now we go to proper dom handling after having to deal with another ie screwup
try {
theForm.appendChild(element.childNodes[0]);