152625 - Make loading a groupmark honor the 'Load links in the background' pref

r=sicking sr=jag
This commit is contained in:
caillon%returnzero.com 2006-09-14 06:05:10 +00:00
parent 0c54015c1a
commit d5e3d19bd1

View File

@ -683,9 +683,11 @@ function OpenBookmarkGroupFromResource(resource, datasource, rdf) {
if (index == 0)
return; // If the bookmark group was completely invalid, just bail.
// Select the first tab in the group.
var tabs = gBrowser.mTabContainer.childNodes;
gBrowser.selectedTab = tabs[tabCount];
// Select the first tab in the group if we aren't loading in the background.
if (!pref.getBoolPref("browser.tabs.loadInBackground")) {
var tabs = gBrowser.mTabContainer.childNodes;
gBrowser.selectedTab = tabs[tabCount];
}
}
function OpenBookmarkURL(node, datasources)