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

This commit is contained in:
brade%netscape.com 2000-04-28 13:33:22 +00:00
Родитель 74ffb17601
Коммит 9d98467569
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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