From 7bc34ec2e3ef5d855143f25a3a8f0c3c51f214e0 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Thu, 14 Sep 2006 05:59:55 +0000 Subject: [PATCH] Fix for 102598, CTRL+T tabs should focus URL bar after opening. r=kerz, sr=hyatt, patch externally contributed. --- suite/browser/navigator.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js index 1210a785e545..2118a180299b 100644 --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -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