Fix message compose to identify content iframe the correct way.

This commit is contained in:
sfraser%netscape.com 1999-07-23 00:18:44 +00:00
Родитель d2b3aa039b
Коммит 8385a88328
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -119,7 +119,7 @@ function ComposeStartup()
dump("Created editorShell\n");
SetupToolbarElements(); //defined into EditorCommands.js
contentWindow = window.frames[0]; //Patch to make EditorCommands.js happy...
contentWindow = window.content;
// setEditorType MUST be call before setContentWindow
if (msgCompose.composeHTML)
@ -141,7 +141,7 @@ function ComposeStartup()
dump("editor initialized in PLAIN TEXT mode\n");
}
window.editorShell.SetContentWindow(window.frames[0]);
window.editorShell.SetContentWindow(contentWindow);
window.editorShell.SetWebShellWindow(window);
window.editorShell.SetToolbarWindow(window);

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

@ -309,7 +309,7 @@ Rights Reserved.
</toolbox>
<!-- The main mail three pane frame -->
<html:iframe type="content" id="content-frame" src="about:blank" name="browser.message.body" flex="100%"/>
<html:iframe type="content-primary" id="content-frame" src="about:blank" name="browser.message.body" flex="100%"/>
<!-- Ripped off from navigator.xul; this should be a XUL fragment! -->
<box align="horizontal" id="status-bar">