From 15a7581ab6d13a3cd9063d937a0aa44a834c1649 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Tue, 8 Jan 2013 21:22:02 +0900 Subject: [PATCH] Fix missing "TreeStyleTabUtils" symbol for modified functions --- content/treestyletab/bookmarksOverlay.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/bookmarksOverlay.js b/content/treestyletab/bookmarksOverlay.js index e96f4e7b..3a3718a4 100644 --- a/content/treestyletab/bookmarksOverlay.js +++ b/content/treestyletab/bookmarksOverlay.js @@ -303,13 +303,14 @@ var TreeStyleTabBookmarksService = { PlacesUIUtils[method].toSource().replace( '{', '{\n' + - ' var TSTBS;\n' + + ' var TSTBS, TSTUtils;\n' + ' let (w = "_getTopBrowserWin" in this ?\n' + ' this._getTopBrowserWin() :\n' + ' "_getCurrentActiveWin" in this ?\n' + ' this._getCurrentActiveWin() :\n' + ' window) {\n' + ' TSTBS = w.TreeStyleTabBookmarksService;\n' + + ' TSTUtils = w.TreeStyleTabUtils;\n' + ' PlacesUtils = w.PlacesUtils;\n' + ' }' ).replace( @@ -318,7 +319,7 @@ var TreeStyleTabBookmarksService = { ).replace( /(this\._openTabset\([^\)]+)(\))/, '$1,\n' + - ' TreeStyleTabUtils.treeBundle\n' + + ' TSTUtils.treeBundle\n' + ' .getFormattedString(\n' + ' PlacesUtils.nodeIsBookmark(aNodes[0]) ?\n' + ' "openSelectedPlaces.bookmarks" :\n' +