rem: gDBView.loadMessageByMsgKey(msgKey); 
add: LoadMessageByViewIndex(gDBView.findIndexFromKey(msgKey, true)); 
context: function OnLoadMessageWindowDelayed(loadCustomMessage){  if (loadCustomMessage)    gDBView.loadMessageByUrl(gCurrentMessageUri);  else  {    var msgKey = extractMsgKeyFromURI(gCurrentMessageUri);    gDBView.loadMessageByMsgKey(msgKey);  }  gNextMessageViewIndexAfterDelete = gDBView.msgToSelectAfterDelete;   UpdateStandAloneMessageCounts();     // set focus to the message pane  window.content.focus();  // since we just changed the pane with focus we need to update the toolbar to reflect this  // XXX TODO  // can we optimize  // and just update cmd_delete and button_delete?  UpdateMailToolbar("focus");}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/c854cb96a30454035b0c25f1ac4bcc31909478f8/messageWindow.js/clean/mailnews/base/resources/content/messageWindow.js