Commit b25428c7 authored by Jez Ng's avatar Jez Ng
Browse files

Bug 440093 - Bookmarks opened via "Open All in Tabs" should not replace current tab. r=mak

parent 1da3bff2
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -812,8 +812,10 @@ var PlacesUIUtils = {
    }

    var loadInBackground = where == "tabshifted" ? true : false;
    var replaceCurrentTab = where == "tab" ? false : true;
    browserWindow.gBrowser.loadTabs(urls, loadInBackground, replaceCurrentTab);
    // For consistency, we want all the bookmarks to open in new tabs, instead
    // of having one of them replace the currently focused tab.  Hence we call
    // loadTabs with aReplace set to false.
    browserWindow.gBrowser.loadTabs(urls, loadInBackground, false);
  },

  /**