rem: if (!currentAttachments.length && mSaveHdr) mSaveHdr.markHasAttachments(false); 
add: if (!currentAttachments.length && this.mSaveHdr) this.mSaveHdr.markHasAttachments(false); 
context:     onEndMsgDownload: function(url)    {      // if we don't have any attachments, turn off the attachments flag      if (!mSaveHdr)      {        var messageUrl = url.QueryInterface(Components.interfaces.nsIMsgMessageUrl);        mSaveHdr = messenger.messageServiceFromURI(messageUrl.uri).messageURIToMsgHdr(messageUrl.uri);      }      if (!currentAttachments.length && mSaveHdr)        mSaveHdr.markHasAttachments(false);      OnMsgParsed(url);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4d042b226bc42cb4f09aad44382001ea23fb2773/msgHdrViewOverlay.js/buggy/mail/base/content/msgHdrViewOverlay.js