diff --git a/mozilla/xpfe/browser/resources/content/navigator.js b/mozilla/xpfe/browser/resources/content/navigator.js index 276e9bb14bf..bfbee8427e0 100644 --- a/mozilla/xpfe/browser/resources/content/navigator.js +++ b/mozilla/xpfe/browser/resources/content/navigator.js @@ -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