Closed
Bug 1203810
Opened 10 years ago
Closed 10 years ago
element cannot be dragged unless event.dataTransfer.setData() is called.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 725156
People
(Reporter: Yay295, Unassigned)
Details
What did you do (part 1)?
I set an element to `draggable="true"` and set `ondragstart="myGlovalVar=this"`. I did not call `event.dataTransfer.setData()`.
What happened (part 1)?
The element could not be dragged.
What should have happened (part 1)?
I should have been able to drag the element.
Note that implicitly draggable elements (links, images, etc.) on my page could be dragged just fine.
What did you do (part 2)?
I set an element to `draggable="true"` and set `ondragstart="myGlovalVar=this"`. I did call `event.dataTransfer.setData()` (though I did not use it).
What happened (part 2)?
The element could be dragged.
Other than the implicitly draggable elements mentioned, the element tag does not seem to affect this.
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•