Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. Other bugs fixed are bug 306076, bug 306924 and bug 306235. r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -486,10 +486,6 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
|
||||
nsCOMPtr<nsIDOMWindowInternal> domWindow =
|
||||
do_QueryInterface(piWin);
|
||||
|
||||
if (domWindow == focusedWindow) {
|
||||
break; // Already focused
|
||||
}
|
||||
|
||||
focusController->SetSuppressFocus(PR_TRUE, "Activation Suppression");
|
||||
|
||||
NS_ASSERTION(domWindow,
|
||||
|
||||
Reference in New Issue
Block a user