Hi guys,

I found a somewhat obscure bug in getViewportDimensions that appears in IE
when using TurboFancyFlash.

The problem is that the check whether
 MochiKit.DOM._document.body.parentElement.ClientWidth
exists will error out if
 MochiKit.DOM._document.body
doesn't exist. TurboFancyFlash makes that happen in IE by calling
getViewportDimensions from the HEAD tag.

I've attached a patch against the latest SVN of MochiKit. I've also sent the
patch to the Chris Arndt (the TurboFancyFlash creator) since TFF bundles a
version of MochiKit.

David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: ie_getviewportdim.patch
Description: Binary data

Reply via email to