[richfaces-issues] [JBoss JIRA] Created: (RF-6083) IE7 - JavaScript error when trying to use a link on partially-loaded page.

Alex Krasov (JIRA) jira-events at lists.jboss.org
Sun Feb 8 06:44:44 EST 2009


IE7 - JavaScript error when trying to use a link on partially-loaded page.
--------------------------------------------------------------------------

                 Key: RF-6083
                 URL: https://jira.jboss.org/jira/browse/RF-6083
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Alex Krasov


JavaScript error when trying to use a link on partially-loaded page.

IE7 - When I'm at page that is not yet fully loaded (you see x remaining at explorer's status) and clicking any link - I'm getting a JS error that says "H is null or not an object" or something like this. No problem at firefox. 
If I'm waiting for page to fully load (inc. all pictures,resources, etc.) before clicking on links, no problem either.
Checked with debugger, H is indeed null, supposed to be document.

The problem is at ui.pack.js - line 3149. I've pathed the script and changed the line to 
window.setTimeout(function(){if(H){H.detachEvent("onstop",G)}},0)
(checked if(H) instead of just calling it)
and problem is gone.

Didn't have this problem before Richfaces 3.3.0


-- 
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

        



More information about the richfaces-issues mailing list