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:
blizzard%redhat.com 2001-11-14 15:40:03 +00:00
parent 91fafca168
commit 7e6642be68

View File

@ -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;
}