Open Bug 50582 Opened 24 years ago Updated 1 year ago

window.ondragdrop not cancellable with return false (NN4 compatibility)

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
Windows 95
defect

Tracking

()

Future

People

(Reporter: martin.honnen, Unassigned)

Details

Attachments

(1 file)

With NN4 you can cancel the loading of a dropped link by returning false in the 
ondragdrop handler. This doesn't work in M17 (checked on windows 95) but should 
otherwise the ondragdrop handler is not compatible to NN4.
Keywords: 4xp
Target Milestone: --- → Future
This bug has been marked "future" because the original netscape engineer working 
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way 
-- please attach your concern to the bug for reconsideration.
Updating QA Contact.
QA Contact: janc → lorca
The real problem is that the event is not implemented. YANNI.
Reassigning QA Contact for all open and unverified bugs previously under Lorca's
care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
QA contact updated
QA Contact: gerardok → madhur
QA Contact: madhur → rakeshmishra
QA Contact: rakeshmishra → trix
OnDragDrop event is useful and necessary. It should be implemented for 1.4.
.
Assignee: joki → saari
QA Contact: trix → ian
Currently the event isn't fired at all (the alert doesn't show), so this bug could be marked as a dup of bug 112288
See http://developer.mozilla.org/en/docs/DOM:window.ondragdrop - you can use e.stopPropagation() to cancel the loading:

window.addEventListener("dragdrop", testfunc, false);
function testfunc(event) {
    alert("dragdrop!");
    event.stopPropagation();
}
Assignee: saari → nobody
QA Contact: ian → events
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.