rem: var newReceipt = gCurrentIdentity.getBoolAttribute("request_return_receipt_on"); 
add: var newReceipt = gCurrentIdentity.requestReturnReceipt; 
context: function LoadIdentity(startup){    var identityElement = document.getElementById("msgIdentity");    var prevIdentity = gCurrentIdentity;        if (identityElement) {        var item = identityElement.selectedItem;        var idKey = item.getAttribute('id');        gCurrentIdentity = gAccountManager.getIdentity(idKey);        if (!startup && prevIdentity && idKey != prevIdentity.key)        {          var prefstring = "mail.identity." + prevIdentity.key;          RemoveDirectoryServerObserver(prefstring);          var prevReplyTo = prevIdentity.replyTo;          var prevBcc = "";          var prevReceipt =            prevIdentity.getBoolAttribute("request_return_receipt_on");          if (prevIdentity.bccSelf)            prevBcc += prevIdentity.email;          if (prevIdentity.bccOthers)          {            if (prevBcc != "")              prevBcc += ","            prevBcc += prevIdentity.bccList;          }          var newReplyTo = gCurrentIdentity.replyTo;          var newBcc = "";          var newReceipt =            gCurrentIdentity.getBoolAttribute("request_return_receipt_on");          if (gCurrentIdentity.bccSelf)            newBcc += gCurrentIdentity.email;          if (gCurrentIdentity.bccOthers)          {            if (newBcc != "")              newBcc += ","            newBcc += gCurrentIdentity.bccList;          }          var needToCleanUp = false;          var msgCompFields = gMsgCompose.compFields;          if (!gReceiptOptionChanged &&              prevReceipt == msgCompFields.returnReceipt &&              prevReceipt != newReceipt)          {            msgCompFields.returnReceipt = newReceipt;            document.getElementById("returnReceiptMenu").setAttribute('checked',msgCompFields.returnReceipt);          }          if (newReplyTo != prevReplyTo)          {            needToCleanUp = true;            if (prevReplyTo != "")              awRemoveRecipients(msgCompFields, "addr_reply", prevReplyTo);            if (newReplyTo != "")              awAddRecipients(msgCompFields, "addr_reply", newReplyTo);          }          if (newBcc != prevBcc)          {            needToCleanUp = true;            if (prevBcc != "")              awRemoveRecipients(msgCompFields, "addr_bcc", prevBcc);            if (newBcc != "")              awAddRecipients(msgCompFields, "addr_bcc", newBcc);          }          if (needToCleanUp)            awCleanupRows();          try {            gMsgCompose.SetSignature(gCurrentIdentity);          } catch (ex) { dump("### Cannot set the signature: " + ex + "\n");}        }      AddDirectoryServerObserver(false);      if (!startup) {          try {              setupLdapAutocompleteSession();          } catch (ex) {              // catch the exception and ignore it, so that if LDAP setup               // fails, the entire compose window doesn't end up horked          }      }    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7ba0bfcc729a474af717873236794a3b1e45c010/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js