I am using prototype 1.6.0.3 with Modalbox, and I receive the
following error on IE7 when I open a modal box:

line 2317: object does not support this property or method.

The line in question is:

          return element.getAttribute(attribute, 2);

Using the script debugger, I found that I could pass 0, 1 or 3 for the
iFlags parameter (2nd parameter) and the call succeeds, but passing 2
results in the error above.

I patched this by changing the code to:

          return element.getAttribute(attribute);

Can anyone provide further information on why this behaves the way it
does?

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