зеркало из https://github.com/mozilla/gecko-dev.git
Fix message compose to identify content iframe the correct way.
This commit is contained in:
Родитель
d2b3aa039b
Коммит
8385a88328
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче