Merge branch 'QA_5_2'

This commit is contained in:
William Desportes 2026-04-09 14:20:01 +02:00
commit be412170f7
No known key found for this signature in database
GPG Key ID: 70684F4717D49A31

View File

@ -223,6 +223,14 @@ var DragDropImport = {
return false;
}
// Firefox native file drag - allow it
// "Firefox also adds a non-standard text item of type application/x-moz-file
// containing the full path of the file on the user's file system. Unless within
// privileged code (such as an extension), its value is the empty string."
if ($.inArray('application/x-moz-file', types) > 0) {
return true;
}
// Firefox native image drag - exclude it
if ($.inArray('application/x-moz-nativeimage', types) >= 0) {
return false;