rem: gDBView.loadMessageByMsgKey(messageKey);  if (nsMsgKey_None == gDBView.keyForFirstSelectedMessage) UpdateMailToolbar("update toolbar for message Window"); 
add: LoadMessageByViewIndex(gDBView.findIndexFromKey(messageKey, true)); 
context: function LoadMessageByMsgKey(messageKey){  gDBView.loadMessageByMsgKey(messageKey);  // we only want to update the toolbar if there was no previous selected message.  if (nsMsgKey_None == gDBView.keyForFirstSelectedMessage)    UpdateMailToolbar("update toolbar for message Window");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/dc9ef46d02c50842d3237abb547d82fa0408e742/messageWindow.js/buggy/mail/base/content/messageWindow.js