Files
shiny/srcjs/input_binding_fileinput.js
Alan Dipert b3ed915db2 Fixes #2142 DnD file upload on Firefox 57+
- Firefox 57+ appears not to fire a change event when the `files` field is modified,
  which prevented uploads from occuring. This commit triggers a change event manually
  and doesn't impact the functioning of other browsers.
- Namespaced events were used improperly in existing code which resulted in "jank"
  on Firefox. Namespaces shouldn't have been attached to events generated by the browser.
- The "drop" and "dragleave" handlers are now separate. This fixes a problem
  on Firefox where the drop event wasn't reliably changing the state of the input
  so it no longer glowed.
2018-10-04 09:50:29 -07:00

18 KiB