[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2035) Partial Refresh Failure - Deprecated Functions in dyna.js

Dan Krieger (JIRA) jira-events at lists.jboss.org
Wed Jun 4 12:07:32 EDT 2008


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


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