From 65007f64e6b2bf20806be9b64bb408a0781e72d2 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Thu, 19 Mar 2015 10:25:25 +0900 Subject: [PATCH] Scroll to tabs opened from a bookmark folder --- content/treestyletab/bookmarksOverlay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/content/treestyletab/bookmarksOverlay.js b/content/treestyletab/bookmarksOverlay.js index 8bf362ab..876c658b 100644 --- a/content/treestyletab/bookmarksOverlay.js +++ b/content/treestyletab/bookmarksOverlay.js @@ -266,6 +266,7 @@ var TreeStyleTabBookmarksService = inherit(TreeStyleTabService, { /(\}\)?)$/, ' if (TSTTreeStructure && TSTPreviousTabs) {\n' + ' let tabs = browserWindow.TreeStyleTabService.getNewTabsFromPreviousTabsInfo(browserWindow.gBrowser, TSTPreviousTabs);\n' + + ' browserWindow.gBrowser.treeStyleTab.scrollToTabs(tabs);\n' + ' browserWindow.TreeStyleTabService.applyTreeStructureToTabs(tabs, TSTTreeStructure, TSTOpenGroupBookmarkBehavior & browserWindow.TreeStyleTabBookmarksService.kGROUP_BOOKMARK_EXPAND_ALL_TREE);\n' + ' }\n' + '$1'