fix an oops in last nights checkin. sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113576 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f89a91a9e4
commit
39cb58daff
@ -223,6 +223,12 @@ var historyDNDObserver = {
|
||||
}
|
||||
};
|
||||
|
||||
function validClickConditions(event)
|
||||
{
|
||||
return (event.button == 0 &&
|
||||
event.originalTarget.localName == 'outlinerchildren');
|
||||
}
|
||||
|
||||
function OpenURL(aInNewWindow)
|
||||
{
|
||||
var currentIndex = gHistoryOutliner.currentIndex;
|
||||
|
||||
@ -78,8 +78,7 @@
|
||||
onselect="this.outlinerBoxObject.view.selectionChanged();
|
||||
historyOnSelect();"
|
||||
ondraggesture="if (event.originalTarget.localName == 'outlinerchildren') nsDragAndDrop.startDrag(event, historyDNDObserver);"
|
||||
ondblclick="if (event.button == 0 &&
|
||||
event.originalTarget.localName == 'outlinerchildren') OpenURL(event.ctrlKey || event.metaKey);">
|
||||
ondblclick="if (validClickConditions(event)) OpenURL(event.ctrlKey || event.metaKey);">
|
||||
<template>
|
||||
<rule>
|
||||
<outlinerchildren>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user