Reputation: 3490
I'm experiencing a strange issue with dropzone.js. Before downloading and testing the plugin myself I checked if it's on site demo works with chrome, firefox and IE, the plugin worked perfectly on all three browsers. After downloading the plugin I noticed that it works in chrome and IE but not in firefox, does anyone know what's going on here?
Upvotes: 2
Views: 3127
Reputation: 60
I ran into an issue with DropZone in Firefox where any dropped files would automatically be opened. I fixed it by disabling the default behavior at the window level.
window.addEventListener("drop", function(e) {
e.preventDefault();
}, false);
Upvotes: 0
Reputation: 3490
If anyone stumbles by, the problem was leaving the action field empty. For some reason it disrupted the plugin in Firefox. Anyway, I just added a value action="bla.html" and now it works.
Upvotes: 1