16925, Regression: The addressing panel chanmges, but the "mail.compose.other.header"-pref code was not updated (causing failures, if the repf was sat). Updating that. r=ducarroz, a=waterson

This commit is contained in:
mozilla.BenB%bucksch.org 2000-09-05 21:46:57 +00:00
Родитель f56f1fb911
Коммит 2b3b3b35e7
1 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -724,11 +724,14 @@ function ComposeLoad()
verifyAccounts(); // this will do migration, if we need to.
var selectNode = document.getElementById('msgRecipientType#1');
if (other_header != "") {
var opt = new Option(other_header + ":", "addr_other");
selectNode.add(opt, null);
var selectNode = document.getElementById('msgRecipientType#1');
selectNode = selectNode.childNodes[0];
var opt = document.createElement('menuitem');
opt.setAttribute("data", "addr_other");
opt.setAttribute("value", other_header + ":");
selectNode.appendChild(opt);
}
// See if we got arguments.