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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user