From dff03a76c359846ccc6c34fc7d0fd5d729accb33 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Tue, 2 Oct 2001 22:00:47 +0000 Subject: [PATCH] Fixed crash when closing Insert Character dialog window, b=100722, r=syd, sr=kin git-svn-id: svn://10.0.0.236/trunk@104441 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/composer/content/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/editor/ui/composer/content/editor.js b/mozilla/editor/ui/composer/content/editor.js index c1c5e40eae4..b5a0a115ba2 100644 --- a/mozilla/editor/ui/composer/content/editor.js +++ b/mozilla/editor/ui/composer/content/editor.js @@ -2493,7 +2493,8 @@ function SwitchInsertCharToAnotherEditorOrClose() while ( enumerator.hasMoreElements() ) { var tempWindow = enumerator.getNext(); - if (tempWindow != window && ("editorShell" in tempWindow) && tempWindow.editorShell) + if (tempWindow != window && tempWindow != window.InsertCharWindow && + ("editorShell" in tempWindow) && tempWindow.editorShell) { var type = tempWindow.editorShell.editorType; if (type == "html" || type == "text" || type == "htmlmail")