Javascript "Object does not support this property or method"
(A4J.AJAX.AddHeadElementTransformer)
-------------------------------------------------------------------------------------------------
Key: RF-4617
URL:
https://jira.jboss.org/jira/browse/RF-4617
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Microsoft Windows, Internet Explorer, Mozilla Firefox
Reporter: Juan Ignacio Garzón
I switched from 3.2.1 to 3.2.2.GA and every page has a javascript error.
I debugged and it seems that this piece of code is having problems:
if (!window._RICH_FACES_SKINNING_ADDED_TO_AJAX && typeof A4J !=
"undefined" && A4J.AJAX) {
A4J.AJAX.AddHeadElementTransformer(function (elt) {
if (window.RICH_FACES_EXTENDED_SKINNING_ON) {
if (elt.tagName && elt.tagName.toLowerCase() == 'link') {
resetMedia(elt);
}
}
});
window._RICH_FACES_SKINNING_ADDED_TO_AJAX = true;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira