Bug 16925 [FEATURE] Want additional header options

patch by neil@parkwaycc.co.uk R=ducarroz sr=bienvenu
This commit is contained in:
timeless%mac.com 2002-08-09 13:00:24 +00:00
Родитель c44d106b1e
Коммит f515b75348
1 изменённых файлов: 4 добавлений и 9 удалений

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

@ -1477,16 +1477,11 @@ function ComposeLoad()
var wizardcallback = true; var wizardcallback = true;
var state = verifyAccounts(wizardcallback); // this will do migration, or create a new account if we need to. var state = verifyAccounts(wizardcallback); // this will do migration, or create a new account if we need to.
if (sOther_headers != "") { if (sOther_headers) {
var selectNode = document.getElementById('addressCol1#1');
var sOther_headers_Array = sOther_headers.split(","); var sOther_headers_Array = sOther_headers.split(",");
for (i = 0; i < sOther_headers_Array.length; i++) { for (var i = 0; i < sOther_headers_Array.length; i++)
var selectNode = document.getElementById('addressCol1#1'); selectNode.appendItem(sOther_headers_Array[i] + ":", "addr_other");
selectNode = selectNode.childNodes[0];
var opt = document.createElement('menuitem');
opt.setAttribute("value", "addr_other");
opt.setAttribute("label", sOther_headers_Array[i] + ":");
selectNode.appendChild(opt);
}
} }
if (state) if (state)
ComposeStartup(false, null); ComposeStartup(false, null);