I did something similar for my context menu script.
Since 1.6.0_rc0 does not have 'contextmenu' event and latest build in
a trunk does, I worked around it like so:

if (!Event.DOMEvents.include('contextmenu')) {
        Event.DOMEvents.push('contextmenu')
}

The question, though, is how safe it is to do something like this.


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

Reply via email to