Project

General

Profile

Defect #36887 » 0001-Fix-copyImageFromClipboard-function-failed-to-genera.patch

Marius BĂLTEANU, 2022-04-04 20:19

View differences:

public/javascripts/attachments.js
291 291

  
292 292
      var inputEl = $('input:file.filedrop').first()
293 293
      handleFileDropEvent.target = e.target;
294
      addFile(inputEl, file, true);
294
      addFile(inputEl, new File([file], filename, { type: file.type }), true);
295 295
    }
296 296
  }
297 297
}
(2-2/3)