diff --git a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js index 4a8b120bd59..b06e6ddc4d6 100644 --- a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js +++ b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js @@ -159,14 +159,15 @@ function ComposeStartup() { dump("Compose: ComposeStartup\n"); - // Get arguments + //dump("Get arguments\n"); var args = GetArgs(); - // fill in Identity combobox - var identitySelect = document.getElementById("msgIdentity"); + //dump("fill in Identity menulist\n"); + var identityList = document.getElementById("msgIdentity"); + var identityListPopup = document.getElementById("msgIdentityPopup"); - if (identitySelect) { - fillIdentitySelect(identitySelect); + if (identityListPopup) { + fillIdentityListPopup(identityListPopup); } var identity; @@ -179,7 +180,15 @@ function ComposeStartup() identity = identities.QueryElementAt(0, Components.interfaces.nsIMsgIdentity); } - identitySelect.value = identity.key; + + for (i=0;i - &fromAddr.label; + - - + + + +