Bug #26586 --> a work around for this bug. set the value for each titledbutton before we add it to the document

and again after we add it to the document. This forces the to/from/cc email address to show up. Sometimes it wasn't
showing up. The cause is related to bug #26741.

r=sspitzer
This commit is contained in:
mscott%netscape.com 2000-02-09 03:16:34 +00:00
Родитель 9b90d855b2
Коммит 1336dd4e50
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -378,7 +378,9 @@ function InsertEmailAddressUnderEnclosingBox(parentBox, parentDiv, emailAddress,
var item = document.createElement("titledbutton");
if ( item && parentDiv)
{
item.setAttribute("class", "emailDisplayButton");
item.setAttribute("value", fullAddress);
if (parentDiv.childNodes.length)
{
var child = parentDiv.childNodes[parentDiv.childNodes.length - 1];