mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 17:43:44 +00:00
Fix for 102598, CTRL+T tabs should focus URL bar after opening. r=kerz, sr=hyatt, patch externally contributed.
This commit is contained in:
parent
b02845a5b4
commit
7bc34ec2e3
@ -779,6 +779,9 @@ function BrowserOpenTab()
|
||||
.getService(Components.interfaces.nsICmdLineHandler);
|
||||
var startpage = handler.defaultArgs;
|
||||
gBrowser.selectedTab = gBrowser.addTab(startpage);
|
||||
setTimeout("gURLBar.focus();", 0); // bug #37638 could be relevant here in the future, depending on whether we
|
||||
// decide that a non-blank page should have its content
|
||||
// area focused instead.
|
||||
}
|
||||
|
||||
/* Called from the openLocation dialog. This allows that dialog to instruct
|
||||
|
Loading…
Reference in New Issue
Block a user