hi, to get rid of the context-menu poping up on mousedowns
(scrollbar-buttons for example) when holding the mousebutton
for a while i added
if (is.ns4 && is.platform=="mac") return false;
line last to DynMouseEvent.EventMethod() in event/mouse.js.
it works, but after the fix, no links in layers will work in ns4,
the link doesn't seem to "get" the click.
so i made an ugly workaround, changed the line
i added to
if (is.ns4 && is.platform=="mac" && evt._noMacNsContextMenu) {
evt._noMacNsContextMenu = false;
return false;
}
and in the eventlistener for the layers i didn't want
the context-menu:
listener.onmousedown=function(e) {
// bla bla bla
e._noMacNsContextMenu = true;
}
now it works, but i think the solution is a bit to ugly,
does anybody else know an other way to come around it?
/martin
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev
- [Dynapi-Dev] (no subject) ���� �����������
- Re: [Dynapi-Dev] (no subject) Robert Rainwater
- Re: [Dynapi-Dev] (no subject) Doug Melvin
- RE: [Dynapi-Dev] (no subject) Pascal Bestebroer
- Re: [Dynapi-Dev] (no subject) Doug Melvin
- RE: [Dynapi-Dev] (no subject) Pascal Bestebroer
- [Dynapi-Dev] (no subject) ���� �����������
- RE: [Dynapi-Dev] (no subject) Pascal Bestebroer
- [Dynapi-Dev] (no subject) Yurij Silvestrov
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) martin str�m
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) arista
- [Dynapi-Dev] (no subject) arista
- RE: [Dynapi-Dev] (no subject) Pascal Bestebroer
- RE: [Dynapi-Dev] (no subject) Dougal Campbell
- Re: [Dynapi-Dev] (no subject) Raides J . Rodr�guez Dom�nguez
