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:
parent
81cee80d89
commit
52bf9b69ff
@ -1629,7 +1629,7 @@ function editorKeyPress(event)
|
||||
|
||||
function AttachmentBucketClicked(event)
|
||||
{
|
||||
if (event.target.localName != 'treecell')
|
||||
if (event.originalTarget.localName == 'treechildren')
|
||||
goDoCommand('cmd_attachFile');
|
||||
}
|
||||
|
||||
|
||||
@ -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);">
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user