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 9200 91945160ae4f5fc36c89989fb0fa5a3cf29ca9b3
parent 9199 4bfc00a0d86a7bde01459c17c48e81ac72af58ec
child 9201 a5b1789406ad6ae9f8af8683d8eb441f62e9b715
push id260
push userbugzilla@standard8.plus.com
push dateMon, 21 Nov 2011 12:33:04 +0000
treeherdercomm-aurora@a5b1789406ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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
   {