[jboss-jira] [JBoss JIRA] Updated: (JBPORTAL-2035) Partial Refresh Failure - Deprecated Functions in dyna.js
Dan Krieger (JIRA)
jira-events at lists.jboss.org
Wed Jun 4 12:09:20 EDT 2008
[ http://jira.jboss.com/jira/browse/JBPORTAL-2035?page=all ]
Dan Krieger updated JBPORTAL-2035:
----------------------------------
Attachment: dyna.js
I have left the original (deprecated) code commented above the changes to help identify what's necessary for the change.
> 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 CMS, Portal Theme
> Affects Versions: 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
More information about the jboss-jira
mailing list