Fix for 83642. r=jag, sr=blake, a=tor
git-svn-id: svn://10.0.0.236/trunk@96393 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2412,10 +2412,8 @@ static void CheckForFocus(nsPIDOMWindow* aOurWindow, nsIFocusController* aFocusC
|
||||
if (domWindow == focusedWindow) {
|
||||
PRBool active;
|
||||
aFocusController->GetActive(&active);
|
||||
aFocusController->SetFocusedElement(nsnull);
|
||||
if(active) {
|
||||
// We need to restore focus and make sure we null
|
||||
// out the focused element.
|
||||
// We need to restore focus to the window.
|
||||
domWindow->Focus();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user