Closed
Bug 1148831
Opened 10 years ago
Closed 10 years ago
event.originalEvent jQuery returns empty set.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 757664
People
(Reporter: bipashasen, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Steps to reproduce:
While implementing drag and drop, I wanted to use the native Form and not Ajax/xhr.
Actual results:
Using $('input).prop('files', event.originalEvent) solved the issue in chrome and opera but not in FireFox. Firefox returned an empty set.
Expected results:
$('input).prop('files', event.originalEvent) should have added the files dragged into a div to the input of type = file. Which didn't happen.
Comment 1•10 years ago
|
||
Thanks for the report. I guess assigning to |files| failed (due to bug 757664), but in the future please attach a testcase, as it makes much easier to see what the problem is.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Component: Untriaged → DOM
Product: Firefox → Core
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•