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:
Родитель
9b90d855b2
Коммит
1336dd4e50
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче