Hi,

I just moved my ticket system to a new server running debian 9 with PHP 7.2
Using the new version 1.11.x stable, everything seems to work fine, but the problem I am facing is, that attachments can not be added by drag & drop, only by manual selection.
Tryed Chrome, Firefox and Safari

Attachments get stored to the filesystem

Any idea what could be the issue and where to check for maybe some errors?
Screenshot with my configuration is attached...

6 days later

This Treads are no solution.
I had the same problem.

Cause:
The new jquery library 3.1.x doesn't support any more
jQuery.event.props.push("dataTransfer");

so the developer removed this line in ./js/filedrop.field.js on Line 295

But they forgot to change a variable, which appends on it.

So change the variable on function drop(e), to find on line 362

function drop(e) {
  if( opts.drop.call(this, e) === false ) return false;
  if(!e.dataTransfer)
    return;
  files = e.dataTransfer.files;

to

function drop(e) {
  if( opts.drop.call(this, e) === false ) return false;
  if(!e.originalEvent.dataTransfer)
    return;
  files = e.originalEvent.dataTransfer.files;

Now, drag and drop schould work again...

ntozier changed the title to [resolved] File upload by drag&drop not working.
Write a Reply...