mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
152625 - Make loading a groupmark honor the 'Load links in the background' pref
r=sicking sr=jag
This commit is contained in:
parent
0c54015c1a
commit
d5e3d19bd1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user