fix bug #8124, catch JS execption while setting the wrapColumn.

This commit is contained in:
ducarroz%netscape.com 1999-06-15 00:24:10 +00:00
parent 1401b07d3f
commit 91f9c5fa68

View File

@ -69,7 +69,14 @@ function ComposeStartup()
else else
{ {
window.editorShell.SetEditorType("text"); window.editorShell.SetEditorType("text");
window.editorShell.wrapColumn = msgCompose.wrapLength; try
{
window.editorShell.wrapColumn = msgCompose.wrapLength;
}
catch (e)
{
dump("### window.editorShell.wrapColumn exception text: " + e + " - failed\n");
}
dump("editor initialized in PLAIN TEXT mode\n"); dump("editor initialized in PLAIN TEXT mode\n");
} }