rem:  UpdateMailToolbar("focus"); } 
add:  UpdateMailToolbar("focus"); } 
context: function FocusRingUpdate_Mail(){  // WhichPaneHasFocus() uses on top.document.commandDispatcher.focusedElement  // to determine which pane has focus  // if the focusedElement is null, we're here on a blur.  // nsFocusController::Blur() calls nsFocusController::SetFocusedElement(null),   // which will update any commands listening for "focus".  // we really only care about nsFocusController::Focus() happens,   // which calls nsFocusController::SetFocusedElement(element)  var currentFocusedElement = WhichPaneHasFocus();  if (!currentFocusedElement)    return;    	if (currentFocusedElement != gLastFocusedElement) {        if( currentFocusedElement == GetThreadOutliner()) {            // XXX fix me            GetThreadOutliner().setAttribute("focusring","true");            GetMessagePane().setAttribute("focusring","false");        }        else if(currentFocusedElement==GetFolderOutliner()) {            // XXX fix me            GetThreadOutliner().setAttribute("focusring","false");            GetMessagePane().setAttribute("focusring","false");        }        else if(currentFocusedElement==GetMessagePane()){            // mscott --> fix me!!            GetThreadOutliner().setAttribute("focusring","false");            GetMessagePane().setAttribute("focusring","true");        }        else {            // XXX fix me            GetThreadOutliner().setAttribute("focusring","false");            GetMessagePane().setAttribute("focusring","false");        }                gLastFocusedElement = currentFocusedElement;        // since we just changed the pane with focus we need to update the toolbar to reflect this        UpdateMailToolbar("focus");    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/13e49aaa6cad63fabfeee777606c1e5e13ca468a/mail3PaneWindowCommands.js/buggy/mailnews/base/resources/content/mail3PaneWindowCommands.js