double click should automatically open the attachment

git-svn-id: svn://10.0.0.236/trunk@145123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org 2003-07-23 20:27:13 +00:00
parent cabfd7f149
commit 705dd15b10

View File

@ -910,7 +910,7 @@ function attachmentListClick(event)
if (event.detail == 2) // double click
{
var target = event.target;
if (target.localName == "mail-attachment")
if (target.localName == "descriptionitem")
{
dofunc("openAttachment", target.attachment);
}
@ -1144,7 +1144,6 @@ function ClearAttachmentList()
{
// clear selection
var list = document.getElementById('attachmentList');
// list.clearSelection();
while (list.childNodes.length)
list.removeChild(list.firstChild);