XULTreeView.onRouteDblClick Member

Internal.

Syntax

object.onRouteDblClick(event);

Arguments

ArgumentSummary
event

Returns

Remarks

See Also

Source Code

function xtv_rdblclick (event)
{
if (!("onRowCommand" in this) || event.target.localName != "treechildren")
return;
var rowIndex = this.tree.view.selection.currentIndex;
if (rowIndex == -1 || rowIndex > this.rowCount)
return;
var rec = this.childData.locateChildByVisualRow(rowIndex);
if (!rec)
{
ASSERT (0, "bogus row index " + rowIndex);
return;
}
this.onRowCommand(rec, event);
}