mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 01:55:44 +00:00
Bug #75372. Get dragging messages to the compose window working again on Linux. Fix incorrect case in drag flavour. r=jag,rginda sr=sspitzer, a=dbaron
This commit is contained in:
parent
91fafca168
commit
7e6642be68
@ -2411,7 +2411,7 @@ var attachmentBucketObserver = {
|
||||
var rawData = aData.data;
|
||||
switch (aData.flavour.contentType) {
|
||||
case "text/x-moz-url":
|
||||
case "text/nsmessageOrFolder":
|
||||
case "text/nsmessageOrfolder":
|
||||
var separator = rawData.indexOf("\n");
|
||||
if (separator != -1) {
|
||||
prettyName = rawData.substr(separator+1);
|
||||
@ -2455,7 +2455,7 @@ var attachmentBucketObserver = {
|
||||
{
|
||||
var flavourSet = new FlavourSet();
|
||||
flavourSet.appendFlavour("text/x-moz-url");
|
||||
flavourSet.appendFlavour("text/nsmessageOrFolder");
|
||||
flavourSet.appendFlavour("text/nsmessageOrfolder");
|
||||
flavourSet.appendFlavour("application/x-moz-file", "nsIFile");
|
||||
return flavourSet;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user