Hide HTML toolbar when compose in plain text mode, fix bug 9512

git-svn-id: svn://10.0.0.236/trunk@45611 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ducarroz%netscape.com
1999-09-02 01:26:34 +00:00
parent 03b6e8c030
commit 53783121c7

View File

@@ -128,7 +128,7 @@ function ComposeStartup()
// fill in Recipient type combobox
FillRecipientTypeCombobox();
if (msgComposeService)
{
msgCompose = msgComposeService.InitCompose(window, args.originalMsg, args.type, args.format, args.fieldsAddr);
@@ -159,6 +159,9 @@ function ComposeStartup()
}
else
{
//Remove HTML toolbar as we are editing in plain text mode
document.getElementById("FormatToolbar").setAttribute("hidden", true);
window.editorShell.SetEditorType("text");
try
{