Ticket #3008 (closed bug: worksforme)
Ready event not fired from MSIE frame
|Reported by:||kB||Owned by:||kB|
|Keywords:||ready not fired||Cc:|
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.
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 )
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).
- Owner set to john
- Priority changed from major to minor
- Component changed from core to event
- Owner changed from john to kB
- Status changed from new to pending