mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
fix bug #35184; give urlbar focus so that the editor is activated and d&d can work properly
This commit is contained in:
parent
7bd51fd41b
commit
8ce9bc2bb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user