Bug 91884: postpone focus() calls from browser onload till after the window is shown. r=jrgm, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@210865 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -336,9 +336,9 @@ function Startup()
|
||||
// Focus the content area if the caller instructed us to.
|
||||
if ("arguments" in window && window.arguments.length >= 3 && window.arguments[2] == true ||
|
||||
!window.locationbar.visible)
|
||||
_content.focus();
|
||||
setTimeout("_content.focus();", 0); // XXXjag bug 91884
|
||||
else
|
||||
gURLBar.focus();
|
||||
setTimeout("gURLBar.focus();", 0); // XXXjag bug 91884
|
||||
|
||||
// Perform default browser checking.
|
||||
checkForDefaultBrowser();
|
||||
|
||||
Reference in New Issue
Block a user