reverting fuzzy-brained part of last checkin that causes Hidden Window to be Tempting Crasher Window. bug 27842
git-svn-id: svn://10.0.0.236/trunk@60912 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1123,10 +1123,8 @@ nsWebShellWindow::ShowModal()
|
||||
if (parentWidget)
|
||||
parentWidget->Enable(PR_FALSE);
|
||||
rv = nsXULWindow::ShowModal();
|
||||
if (parentWidget) {
|
||||
if (parentWidget)
|
||||
parentWidget->Enable(PR_TRUE);
|
||||
parentWindow->Show(PR_TRUE); // bring to front
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user