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:
jaggernaut%netscape.com
2006-09-14 05:59:21 +00:00
parent 423d23b3b3
commit e0397612a9

View File

@@ -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();