Fix missing "TreeStyleTabUtils" symbol for modified functions
This commit is contained in:
parent
8320caadea
commit
15a7581ab6
@ -303,13 +303,14 @@ var TreeStyleTabBookmarksService = {
|
|||||||
PlacesUIUtils[method].toSource().replace(
|
PlacesUIUtils[method].toSource().replace(
|
||||||
'{',
|
'{',
|
||||||
'{\n' +
|
'{\n' +
|
||||||
' var TSTBS;\n' +
|
' var TSTBS, TSTUtils;\n' +
|
||||||
' let (w = "_getTopBrowserWin" in this ?\n' +
|
' let (w = "_getTopBrowserWin" in this ?\n' +
|
||||||
' this._getTopBrowserWin() :\n' +
|
' this._getTopBrowserWin() :\n' +
|
||||||
' "_getCurrentActiveWin" in this ?\n' +
|
' "_getCurrentActiveWin" in this ?\n' +
|
||||||
' this._getCurrentActiveWin() :\n' +
|
' this._getCurrentActiveWin() :\n' +
|
||||||
' window) {\n' +
|
' window) {\n' +
|
||||||
' TSTBS = w.TreeStyleTabBookmarksService;\n' +
|
' TSTBS = w.TreeStyleTabBookmarksService;\n' +
|
||||||
|
' TSTUtils = w.TreeStyleTabUtils;\n' +
|
||||||
' PlacesUtils = w.PlacesUtils;\n' +
|
' PlacesUtils = w.PlacesUtils;\n' +
|
||||||
' }'
|
' }'
|
||||||
).replace(
|
).replace(
|
||||||
@ -318,7 +319,7 @@ var TreeStyleTabBookmarksService = {
|
|||||||
).replace(
|
).replace(
|
||||||
/(this\._openTabset\([^\)]+)(\))/,
|
/(this\._openTabset\([^\)]+)(\))/,
|
||||||
'$1,\n' +
|
'$1,\n' +
|
||||||
' TreeStyleTabUtils.treeBundle\n' +
|
' TSTUtils.treeBundle\n' +
|
||||||
' .getFormattedString(\n' +
|
' .getFormattedString(\n' +
|
||||||
' PlacesUtils.nodeIsBookmark(aNodes[0]) ?\n' +
|
' PlacesUtils.nodeIsBookmark(aNodes[0]) ?\n' +
|
||||||
' "openSelectedPlaces.bookmarks" :\n' +
|
' "openSelectedPlaces.bookmarks" :\n' +
|
||||||
|
Loading…
Reference in New Issue
Block a user