Fix for bug 52323. Use event.originalTarget instead of event.target in order to get the right target. a,r=alecf

git-svn-id: svn://10.0.0.236/trunk@79477 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ducarroz%netscape.com 2000-09-18 23:08:09 +00:00
parent 81cee80d89
commit 52bf9b69ff
2 changed files with 2 additions and 2 deletions

View File

@ -1629,7 +1629,7 @@ function editorKeyPress(event)
function AttachmentBucketClicked(event)
{
if (event.target.localName != 'treecell')
if (event.originalTarget.localName == 'treechildren')
goDoCommand('cmd_attachFile');
}

View File

@ -31,7 +31,7 @@ Rights Reserved.
<tree id="addressingWidgetTree"
class="addressingWidget inset" multiple="true"
onkeypress="awKeyPress(event, this);"
onclick="awClickEmptySpace(event.target, true)"
onclick="awClickEmptySpace(event.originalTarget, true)"
ondragover="return DragOverTree(event);"
ondragdrop="return DropOnAddressingWidgetTree(event);">