Side navigation
#10756 closed enhancement (worksforme)
Opened November 11, 2011 10:15AM UTC
Closed November 11, 2011 03:55PM UTC
Last modified November 11, 2011 03:56PM UTC
file drop event dataTransfer undefined
Reported by: | sfornengo@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("#dropbox").on("drop",function(e){
e.dataTransfer undefined
}
not using jquery:
$("#dropbox")[0].addEventListener("drop",function(e){
e.dataTransfer.files works as expected
},false);
Attachments (0)
Change History (5)
Changed November 11, 2011 01:12PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed November 11, 2011 03:39PM UTC by comment:3
resolution: | duplicate |
---|---|
status: | closed → reopened |
Changed November 11, 2011 03:55PM UTC by comment:4
component: | unfiled → event |
---|---|
priority: | undecided → low |
resolution: | → worksforme |
status: | reopened → closed |
Use an even property fix hook :)
jQuery.event.fixHooks.drop = { props: [ "dataTransfer" ] };
Changed November 11, 2011 03:56PM UTC by comment:5
More info...