fix bug #35184; give urlbar focus so that the editor is activated and d&d can work properly

git-svn-id: svn://10.0.0.236/trunk@67522 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com 2000-04-28 13:33:22 +00:00
parent d1a4dfc205
commit 7fcdb006e6

View File

@ -322,6 +322,11 @@ function Startup()
// Initialize browser instance..
appCore.setWebShellWindow(window);
// give urlbar focus so it'll be an active editor and d&d will work properly
var url_bar = document.getElementById("urlbar");
if ( url_bar )
url_bar.focus();
tryToSetContentWindow();
// Add a capturing event listener to the content area