diff --git a/mailnews/compose/resources/content/MsgComposeCommands.js b/mailnews/compose/resources/content/MsgComposeCommands.js
index 8c7d7c0b1de4..af536fcd520a 100644
--- a/mailnews/compose/resources/content/MsgComposeCommands.js
+++ b/mailnews/compose/resources/content/MsgComposeCommands.js
@@ -1219,7 +1219,7 @@ function ComposeStartup(recycled, aParams)
}
document.getElementById("returnReceiptMenu").setAttribute('checked',
gMsgCompose.compFields.returnReceipt);
- document.getElementById("attachVCardMenu").setAttribute('checked',
+ document.getElementById("cmd_attachVCard").setAttribute('checked',
gMsgCompose.compFields.attachVCard);
// If recycle, editor is already created
@@ -2451,7 +2451,7 @@ function LoadIdentity(startup)
prevAttachVCard != newAttachVCard)
{
msgCompFields.attachVCard = newAttachVCard;
- document.getElementById("attachVCardMenu").setAttribute('checked',msgCompFields.attachVCard);
+ document.getElementById("cmd_attachVCard").setAttribute('checked',msgCompFields.attachVCard);
}
if (newReplyTo != prevReplyTo)
diff --git a/mailnews/compose/resources/content/messengercompose.xul b/mailnews/compose/resources/content/messengercompose.xul
index 16eaf468bff6..f8fa8a60c874 100644
--- a/mailnews/compose/resources/content/messengercompose.xul
+++ b/mailnews/compose/resources/content/messengercompose.xul
@@ -103,6 +103,7 @@