mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Fix cannot set property 'dragover' of undefined (#33383).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19804 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -198,8 +198,7 @@ function dragOutHandler(e) {
|
||||
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({
|
||||
|
||||
Reference in New Issue
Block a user