Problem
I have following code snippet that is used to get file information during file drag and drop upload:
var files = event.dataT
Solution
I came up with following dirty workaround that works on Firefox version - 46.0.1
It uses FileReader API to check if uploaded file is directory or not.
Code
Drop your files here!
Related Links