[
http://jira.jboss.com/jira/browse/JBPORTAL-2035?page=all ]
Dan Krieger updated JBPORTAL-2035:
----------------------------------
Component/s: Portal Core
(was: Portal CMS)
Affects Version/s: 2.6.5 Final
Partial Refresh Failure - Deprecated Functions in dyna.js
---------------------------------------------------------
Key: JBPORTAL-2035
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-2035
Project: JBoss Portal
Issue Type: Patch
Security Level: Public(Everyone can see)
Components: Portal Theme, Portal Core
Affects Versions: 2.6.5 Final, 2.6.5 SP1
Environment: N/A
Reporter: Dan Krieger
Assigned To: Sohil Shah
Priority: Optional
Attachments: dyna.js
I originally had a problem getting partial refresh to operate correctly in Firefox 3 CR1
(although I was not able to test other platforms due to limited computer access). With
Prototype having been updated to the most recent version, dyna.js had several deprecated
functions that seemed to be the source of the problems in Firefox 3.
Changes worth mentioning:
Element.getElementsByClassName is deprecated now
- $(element).select('.'+classname); is the preferred (and functional)
solution
document.getElementsByClassName("class-name") is best performed now by
$$(".class-name")
- notice the inclusion of a . in the classname string (css-style selector)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira