Bug #40516 --> fix aim presence for mail in the commercial tree.

Changes to make the toggle button an image instead of a button
r=sspitzer
This commit is contained in:
mscott%netscape.com 2000-05-26 01:09:12 +00:00
Родитель 00af024137
Коммит e7202b38ea
2 изменённых файлов: 15 добавлений и 12 удалений

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

@ -128,7 +128,8 @@ var messageHeaderSink = {
// WARNING: This is the ONLY routine inside of the message Header Sink that should
// trigger a reflow!
NotifyClearAddresses();
if (this.NotifyClearAddresses != undefined)
NotifyClearAddresses();
// (1) clear out the email fields for to, from, cc....
ClearEmailField(msgPaneData.FromValue);
@ -436,8 +437,9 @@ function InsertEmailAddressUnderEnclosingBox(parentBox, parentDiv, emailAddress,
itemInDocument.setTextAttribute("emailAddress", emailAddress);
itemInDocument.setTextAttribute("fullAddress", fullAddress);
itemInDocument.setTextAttribute("displayName", displayName);
AddExtraAddressProcessing(emailAddress, itemInDocument);
if (this.AddExtraAddressProcessing != undefined)
AddExtraAddressProcessing(emailAddress, itemInDocument);
hdrViewSetVisible(parentBox, true);
}
@ -492,7 +494,8 @@ function UpdateMessageHeaders()
hdrViewSetNodeWithBox(msgPaneData.UserAgentBox, msgPaneData.UserAgentValue, "");
}
FinishEmailProcessing();
if (this.FinishEmailProcessing != undefined)
FinishEmailProcessing();
}
function ClearCurrentHeaders()

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

@ -76,26 +76,26 @@ Rights Reserved.
<box id="ToBox" class="headerBox" align="horizontal" collapsed="true">
<text class="headerdisplayname" value="&toField.label;" popup="allHeadersPopup"/>
<html class="headerValue" id="ToValueShort" flex="1">
<button class="showMoreAddressesButton" id="ToValueToggleIcon"
oncommand="ToggleLongShortAddresses('ToValueShort', 'ToValueLong');"/>
<image class="showMoreAddressesButton" id="ToValueToggleIcon"
onclick="ToggleLongShortAddresses('ToValueShort', 'ToValueLong');"/>
</html>
<html class="headerValue" id="ToValueLong" collapsed="true" flex="1">
<button class="showFewerAddressesButton"
oncommand="ToggleLongShortAddresses('ToValueShort', 'ToValueLong');"/>
<image class="showFewerAddressesButton"
onclick="ToggleLongShortAddresses('ToValueShort', 'ToValueLong');"/>
</html>
</box>
<box id="CcBox" class="headerBox" align="horizontal" collapsed="true">
<text class="headerdisplayname" value="&ccField.label;" popup="allHeadersPopup"/>
<html class="headerValue" id="CcValueShort" flex="1">
<button class="showMoreAddressesButton" id="CcValueToggleIcon"
oncommand="ToggleLongShortAddresses('CcValueShort', 'CcValueLong');"/>
<image class="showMoreAddressesButton" id="CcValueToggleIcon"
onclick="ToggleLongShortAddresses('CcValueShort', 'CcValueLong');"/>
</html>
<html class="headerValue" id="CcValueLong" collapsed="true" flex="1">
<button class="showFewerAddressesButton"
oncommand="ToggleLongShortAddresses('CcValueShort', 'CcValueLong');"/>
<image class="showFewerAddressesButton"
onclick="ToggleLongShortAddresses('CcValueShort', 'CcValueLong');"/>
</html>
</box>