From: Joachim L. <lu...@ho...> - 2001-07-11 20:46:02
|
At 2001-07-11 21:07, you wrote: >[....] > >Nope, stil doesn't work for me. I've narrowed it down, and it has >something to do with DragEvents (I have draggable layers in my doc). I >set up a simple test case: > > http://www.mentalcollective/test2.html > >If you click the "stuff" link, it will display an alert. After you click >Okay, it loads the url from the link. > >But look at: > http://www.mentalcollective/test3.html > >The is the exact same code as test2, except I commented out the > DragEvent.enableDragEvents(myLayer) >line. And on this one, clicking the "stuff" link will *not* load the >url. > >Something in the document is altered when DragEvents are enabled. And >even disabling them doesn't undo it (see the "Disable Dragging" link in >the blue layer). Well, mouse.js is wrong - at the end of the DynMouseEvent.EventMethod function around line 147 it reads // Click on links and form elements if (e && e.target.handleEvent && e.target!=this) e.target.handleEvent(e); It should be: // Click on links and form elements if(e && e.target.handleEvent && e.target!=this) evt.browserReturn = e.target.handleEvent(e); That change should of course be fully tested because it has global impact. /Lunna |