windowhandler.js has globally scoped functions and does not chain window.onload
-------------------------------------------------------------------------------

                 Key: EXTCDI-247
                 URL: https://issues.apache.org/jira/browse/EXTCDI-247
             Project: MyFaces CODI
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.1
            Reporter: Werner Punz


After fixing a minor issue in the windowhandler.js codebase I saw that the 
windowhandler.js file has globally scoped functions and does not chain 
window.onload but instead overwrites it. 
The commit in this issue will wrap all functions of the window handler into an 
outer function and marks then thus as private.
Also a simple window onload chain is added.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to