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 11182 91945160ae4f5fc36c89989fb0fa5a3cf29ca9b3
parent 11181 4bfc00a0d86a7bde01459c17c48e81ac72af58ec
child 11183 a5b1789406ad6ae9f8af8683d8eb441f62e9b715
push id6
push userbienvenu@nventure.com
push dateWed, 16 May 2012 22:24:51 +0000
treeherdertry-comm-central@ac395aea3008 [default view] [failures only]
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
@@ -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
   {