23872, fixing double click behaviour in profile manager
git-svn-id: svn://10.0.0.236/trunk@57753 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -268,3 +268,12 @@ function HandleKeyEvent( aEvent )
|
||||
}
|
||||
}
|
||||
|
||||
function HandleClickEvent( aEvent )
|
||||
{
|
||||
if( aEvent.clickCount == 2 ) {
|
||||
if( aEvent.target.nodeName.toLowerCase() == "treecell" )
|
||||
return onStart();
|
||||
}
|
||||
else
|
||||
return showSelection(aEvent.target.parentNode.parentNode);
|
||||
}
|
||||
@@ -90,7 +90,7 @@
|
||||
<spring style="height: 1px;"/>
|
||||
<tree
|
||||
id="profiles" class="inset" style="height: 175px; width: 220px;" flex="100%"
|
||||
onclick="if( event.clickCount == 2 ) return onStart(); else return showSelection(event.target.parentNode.parentNode);"
|
||||
onclick="HandleClickEvent( event );"
|
||||
onkeypress="HandleKeyEvent( event );">
|
||||
<treehead>
|
||||
<treerow>
|
||||
|
||||
Reference in New Issue
Block a user