View Full Version : Firefox parentNode issue

04-09-2008, 01:40 AM
1) Script Title: chromemenu

2) Script URL (on DD):

3) Describe problem:
When you mouse out of a drop down menu into a text input field, Firefox throws a Permission Denied error for parentNode.

I hacked the contains_firefox function to work around as follows:

contains_firefox:function(a, b) {
try {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
catch(e) {return false;}

04-09-2008, 08:40 PM
I'm aware of FF throwing an error in select situations with regards to the default contains_firefox() code. But it doesn't seem to affect the script's behavior, at least not as far as I can even see.