Fix ender loading URL problem when doing a reply or forward

This commit is contained in:
ducarroz%netscape.com 1999-05-19 00:52:48 +00:00
Родитель ff4032f2c0
Коммит e0bc96732d
1 изменённых файлов: 8 добавлений и 6 удалений

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

@ -115,10 +115,10 @@ function ComposeStartup()
editorAppCore.setContentWindow(window.frames[0]);
editorAppCore.setWebShellWindow(window);
editorAppCore.setToolbarWindow(window);
if (useHtml)
editorAppCore.loadUrl("chrome://messengercompose/content/defaultHtmlBody.html");
else
editorAppCore.loadUrl("chrome://messengercompose/content/defaultTextBody.html");
// if (useHtml)
// editorAppCore.loadUrl("chrome://messengercompose/content/defaultHtmlBody.html");
// else
// editorAppCore.loadUrl("chrome://messengercompose/content/defaultTextBody.html");
// Now that we have an Editor AppCore, we can finish to initialize the Compose AppCore
if (composeAppCore)
@ -177,8 +177,10 @@ function MessageSent()
document.getElementById('msgSubject').value = "";
if (editorAppCore)
{
editorAppCore.selectAll();
editorAppCore.insertText("");
// editorAppCore.selectAll();
// editorAppCore.insertText("");
editorAppCore.loadUrl("about:blank");
}
window.close(); // <-- doesn't work yet!