Bug 702094 - Dragging attachments from the compose window doesn't work anymore; r=bwinton
authorJim Porter <squibblyflabbetydoo@gmail.com>
Wed, 16 Nov 2011 21:14:19 -0600
changeset 8864 e4c895f1d7596ad5bfda5bf7632109c33f9890f7
parent 8863 336a01b5aa31999eae6a8bca1f8a3c36f2e1d96c
child 8865 993275bb462b219b4984d6fca840b0bd56309b5a
push id6798
push usersquibblyflabbetydoo@gmail.com
push dateThu, 17 Nov 2011 03:15:05 +0000
treeherdercomm-central@e4c895f1d759 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwinton
bugs702094
Bug 702094 - Dragging attachments from the compose window doesn't work anymore; r=bwinton
mail/components/compose/content/MsgComposeCommands.js
--- a/mail/components/compose/content/MsgComposeCommands.js
+++ b/mail/components/compose/content/MsgComposeCommands.js
@@ -3636,17 +3636,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
   {