bug 195212 - Reopening multiple tabs when clicking Home and multiple homepages selected, make multiple pages always open together r=mano

git-svn-id: svn://10.0.0.236/trunk@232755 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mconnor%steelgryphon.com
2007-08-22 05:04:21 +00:00
parent 9635fdb90e
commit 2461f8bd67

View File

@@ -1065,8 +1065,13 @@
else
firstTabAdded = gBrowser.addTab(aURIs[0], null, null, null, owner, false);
for (var i = 1; i < aURIs.length; ++i)
gBrowser.addTab(aURIs[i]);
var tabNum = this.mTabContainer.selectedIndex;
for (var i = 1; i < aURIs.length; ++i) {
var tab = gBrowser.addTab(aURIs[i]);
if (aReplace)
this.moveTabTo(tab, ++tabNum);
}
if (!aLoadInBackground) {
if (firstTabAdded) {
// .selectedTab setter focuses the content area