Drag & Drop does not work with Safari 5.1
see #13932-13 - i would have re-opened but i do not have permission
#5 Updated by fred bregar over 3 years ago
FileReader is not needed. (Search repo for FileReader)
FileReader was simply a hack for Safari 5.1 to return
FileReader is for actually reading a file in a browser (like dragging a text file into the browser and creating a
<textarea> tag and displaying contents of the file). Redmine is not reading the contents of the File, just uploading it.
a better test would be:
if ($.ajaxSettings.xhr().upload && inputEl.files) //but this instantiates a new XMLHttpRequest object and does nothing with it.
but like i said (#13932-13) the real problem is jQuery. jQuery was amazing, but unless you need to support IE8 and below there is really no need for it these days.