Author: nbelaevski
Date: 2009-04-24 15:25:07 -0400 (Fri, 24 Apr 2009)
New Revision: 13845
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
https://jira.jboss.org/jira/browse/RF-6929
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2009-04-24 19:00:59 UTC
(rev 13844)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2009-04-24 19:25:07 UTC
(rev 13845)
@@ -1721,7 +1721,7 @@
var xmlString = "<html
xmlns='http://www.w3.org/1999/xhtml'><sc"+"ript&g...;
oDomDoc = (new DOMParser()).parseFromString(xmlString, "text/xml");
var _script=oDomDoc.getElementsByTagName("script")[0];
- if(!window.opera && _span.outerHTML){
+ if (!window.opera && !A4J.AJAX.isWebkitBreakingAmps() &&
_span.outerHTML) {
_span.outerHTML = new XMLSerializer().serializeToString(_script);
} else {
var importednode ;