mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1367720: Restore ability to drag & drop files from Finder to Firefox. r=mstange
This commit is contained in:
parent
e105bc74f0
commit
b633564ae8
@ -612,7 +612,7 @@ nsDragService::IsDataFlavorSupported(const char *aDataFlavor, bool *_retval)
|
||||
const NSString* type = nil;
|
||||
bool allowFileURL = false;
|
||||
if (dataFlavor.EqualsLiteral(kFileMime)) {
|
||||
type = [UTIHelper stringFromPboardType:kMozFileUrlsPboardType];
|
||||
type = [UTIHelper stringFromPboardType:(NSString*)kUTTypeFileURL];
|
||||
allowFileURL = true;
|
||||
} else if (dataFlavor.EqualsLiteral(kUnicodeMime)) {
|
||||
type = [UTIHelper stringFromPboardType:NSPasteboardTypeString];
|
||||
|
Loading…
Reference in New Issue
Block a user