Hi, we are using Prototype 1.6.0.3 in combination with Gabriel Lanzani
select.js. When loading the page in (any) IE browser, the first time
the select box is clicked it will not open and a js error will
occure.

As fare as i understand at some point after the click the Prototype
getOffsteParent is called with the actual Document element as
argument. Wich later then will create an exception in element.getStyle
because the document node dose not have a style property. Im not sure
if it is Prototype's job to check whether the argument will create an
exception. I patched the getOffsetParent checking whether the argument
is not document (element !== document).

I know that altering the library files is not Best Practice, maybe the
problem could be fixed in future within Prototype, that if it is his
responsibility.

greetings
FDA

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to