Re[3]: hmenu on an input field in firefox
2006/12/28 12:51
Viewed 20069 times
Replies: 3/4

I was able to fix this based on http://jquery.com/dev/bugs/bug/222/

Context: I had been reworking v. 1.0 to work in flat mode. There were several bugs, including one in calendar-setup. The one relavent to this is found in the Calendar.isRelated code. I changed the code to:

while (related) {
if (related == el) {
return true;
}
try { related = related.parentNode; }
catch(e) { related = null }
}

So that when FireFox throws a Permission Denies, it exits gracefully. I have not tested this on any of the IE or previous versions of FireFox.

  • Qaexl
Re[4]: hmenu on an input field in firefox
2006/12/28 12:54
Viewed 22324 times
Replies: 0/0

Oops -- I did not read the topic correctly. The fix I wrote is for the DHTML calendar in flat mode attached to an input field and not the DHTML Menu. You might be able trace the bug to a similar problem in DHTML Menu.

Qaexl

last
Re[4]: hmenu on an input field in firefox
2007/01/09 18:02
Viewed 21965 times
Replies: 1/1

Did you replace the entire isRelated function with the code you posted, or just a section of it?

last
Re[5]: hmenu on an input field in firefox
2007/01/09 18:04
Viewed 24197 times
Replies: 0/0

Nevermind, I think I see. You just wrapped the related=related.parentNode line in a try block.

last
Re[4]: hmenu on an input field in firefox
2007/06/12 20:15
Viewed 16567 times
Replies: 0/0

Replacing the isrelated function seems to have stopped the error in firefox. thanks.

last
Google