[Laszlo-dev] regarding the 'oncontextmenu' event in DHTML

Henry Minsky hminsky at laszlosystems.com
Mon Aug 24 10:56:32 PDT 2009


I just discovered that the last changes I made for LPP-8218 caused the
context menu to get broken in Safari/DHTML.
The problem is that in Safari, there is no "mousedown-right" event sent when
you right click. There is only the "oncontextmenu"
event. So the quirk for checking if DOM2 mouse events is supported isn't
really telling you the right thing for Safari.

Either we need to put in another quirk for Safari in this case, or maybe we
should just back out and use the 'oncontextmenu'
event for everyone, since it seems to be supported on IE, FF, and Safari.
I'd still like to figure out what Opera does also..


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090824/70a4a015/attachment.html


More information about the Laszlo-dev mailing list