rem:  windowID.gDBView.loadMessageByMsgKey(msgHdr.messageKey); 
add: else return false; 
context: function MsgOpenExistingWindowForMessage(aMessageUri){    var messageUri;    var msgHdr = null;    var windowID = GetWindowByWindowType("mail:messageWindow");    if(!windowID)      return false;    if (!aMessageUri) {        var currentIndex = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView).outlinerView.selection;        messageUri = gDBView.getURIForViewIndex(currentIndex);    }    else        messageUri = aMessageUri;    // be sure to pass in the current view....    if (!messageUri)        return false;    try {        msgHdr = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);        if (!msgHdr)            return false;        if (msgHdr.folder.URI != windowID.gCurrentFolderUri) {            if ("CreateView" in windowID) {                // Reset the window's message uri and folder uri vars, and                // update the command handlers to what's going to be used.                // This has to be done before the call to CreateView().                windowID.gCurrentMessageUri = messageUri;                windowID.gCurrentFolderUri = msgHdr.folder.URI;                windowID.UpdateMailToolbar('MsgOpenExistingWindowForMessage');                windowID.CreateView(gDBView);            }            else                return false;        }        windowID.gDBView.loadMessageByMsgKey(msgHdr.messageKey);    }    catch (ex) {        dump("reusing existing standalone message window failed: " + ex + "\n");        return false;    }    // bring existing window to front    windowID.focus();    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dbe5b54f690c9aa00c0be53b4b2ee66def35e293/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js