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
This commit is contained in:
parent
8c09a3a42d
commit
dff03a76c3
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user