Bug 702094 - Dragging attachments from the compose window doesn't work anymore; r=bwinton,a=Standard8
authorJim Porter <squibblyflabbetydoo@gmail.com>
Wed, 16 Nov 2011 21:14:19 -0600
changeset 9377 08f96e424cd6b1b46052f1ef2b5086397fb893d8
parent 9376 29a8084267719894e5eac7be978f935d217db2a7
child 9378 489cc53f5ae34cfa0cec9cafb7b6b9251e2dcce3
push idunknown
push userunknown
push dateunknown
reviewersbwinton, Standard8
bugs702094
Bug 702094 - Dragging attachments from the compose window doesn't work anymore; r=bwinton,a=Standard8
mail/components/compose/content/MsgComposeCommands.js
--- a/mail/components/compose/content/MsgComposeCommands.js
+++ b/mail/components/compose/content/MsgComposeCommands.js
@@ -3625,17 +3625,17 @@ var envelopeDragObserver = {
     }
 };
 
 var attachmentBucketDNDObserver = {
   onDragStart: function (aEvent, aAttachmentData, aDragAction)
   {
     var target = aEvent.target;
 
-    if (target.localName == "listitem")
+    if (target.localName == "attachmentitem")
       aAttachmentData.data = CreateAttachmentTransferData(target.attachment);
   }
 };
 
 function DisplaySaveFolderDlg(folderURI)
 {
   try
   {