Side navigation
#3008 closed bug (worksforme)
Opened June 09, 2008 12:41PM UTC
Closed November 20, 2010 03:28AM UTC
Ready event not fired from MSIE frame
Reported by: | kB | Owned by: | kB |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | event | Version: | 1.2.6 |
Keywords: | ready not fired | Cc: | |
Blocked by: | Blocking: |
Description
I've spent some time trying to figure out why the jQuery ready wasn't being fired on my test app. Actually it would fire, once in ten or twenty page reloads.
Test app uses two frames, and loads jquery.js on each of those dynamically (using a hardcoded javascript in HEAD tag).
After a bit of research I found out that setTimeout( "alert($.isReady)", 2000), says "false", and started suspecting jQuery. By looking at the code I found out that changing:
if ( jQuery.browser.msie && window == top )
to
if ( jQuery.browser.msie )
fixes the problem (actually I wrote code that tests if self==top, and doing exactly the same thing as bindReady does for IE, before looking inside the jQuery).
Attachments (0)
Change History (3)
Changed June 10, 2008 08:18PM UTC by comment:1
component: | core → event |
---|---|
owner: | → john |
priority: | major → minor |
Changed November 13, 2010 07:21PM UTC by comment:2
owner: | john → kB |
---|---|
status: | new → pending |
This may have been fixed; please provide a test case.
Changed November 20, 2010 03:28AM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | pending → closed |
Given the age of this ticket and my opinion that the issue experienced sounds a lot like it was down to the implementation being used rather than a jQuery core issue, I am closing on the grounds that this isn't a core bug. If the original ticket submitter would like to re-open with a valid test case they may do so and we'll re-investigate at that point.