context: function ThreadPaneOnClick(event){    // we only care about button 0 (left click) events    if (event.button != 0) return;    // we are already handling marking as read and flagging    // in nsMsgDBView.cpp    // so all we need to worry about here is double clicks    // and column header.    //    // we get in here for clicks on the "outlinercol" (headers)    // and the "scrollbarbutton" (scrollbar buttons)    // we don't want those events to cause a "double click"    var t = event.originalTarget;    if (t.localName == "outlinercol") {       HandleColumnClick(t.id);    }    else if (event.detail == 2 && t.localName == "outlinerchildren") {       var row = new Object;       var colID = new Object;       var childElt = new Object;       var outliner = GetThreadOutliner();       // figure out what cell the click was in       outliner.boxObject.QueryInterface(Components.interfaces.nsIOutlinerBoxObject).getCellAt(event.clientX, event.clientY, row, colID, childElt);       if (row.value == -1)         return;       // if the cell is in a "cycler" column       // or if the user double clicked on the twisty,       // don't open the message in a new window       var col = document.getElementById(colID.value);       if (col && col.getAttribute("cycler") != "true" && (childElt.value != "twisty")) {         ThreadPaneDoubleClick();         // double clicking should not toggle the open / close state of the          // thread.  this will happen if we don't prevent the event from         // bubbling to the default handler in outliner.xml	 event.preventBubble();       }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/threadPane.js/clean/mailnews/base/resources/content/threadPane.js