rem: var outlinerView = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView); var outlinerSelection = outlinerView.selection; outlinerSelection.select(gCurrentlyDisplayedMessage); if (outlinerView) outlinerView.selectionChanged(); EnsureRowInThreadOutlinerIsVisible(gCurrentlyDisplayedMessage); 
add: var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView); var treeSelection = treeView.selection; treeSelection.select(gCurrentlyDisplayedMessage); if (treeView) treeView.selectionChanged(); EnsureRowInThreadTreeIsVisible(gCurrentlyDisplayedMessage); 
context: function LoadCurrentlyDisplayedMessage(){  if (gCurrentlyDisplayedMessage != nsMsgViewIndex_None)  {    var outlinerView = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView);    var outlinerSelection = outlinerView.selection;    outlinerSelection.select(gCurrentlyDisplayedMessage);    if (outlinerView)      outlinerView.selectionChanged();    EnsureRowInThreadOutlinerIsVisible(gCurrentlyDisplayedMessage);    SetFocusThreadPane();    gCurrentlyDisplayedMessage = nsMsgViewIndex_None; //reset  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js