Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19804
e93f8b46-1217-0410-a6f0-
8f06a7374b81
function setupFileDrop() {
if (window.File && window.FileList && window.ProgressEvent && window.FormData) {
- $.event.fixHooks.dragover = { props: [ 'dataTransfer' ] };
- $.event.fixHooks.drop = { props: [ 'dataTransfer' ] };
+ $.event.addProp('dataTransfer');
$('form div.box:not(.filedroplistner)').has('input:file.filedrop').each(function() {
$(this).on({