"open bookmarks in tabs" didn't work on Nightly and lately Firefox versions (regression)
This commit is contained in:
parent
160af4684d
commit
c78abb4cde
@ -233,10 +233,11 @@ var TreeStyleTabBookmarksService = {
|
|||||||
).replace(
|
).replace(
|
||||||
/(browserWindow\.(?:getBrowser\(\)|gBrowser)\.loadTabs\([^;]+\);)/,
|
/(browserWindow\.(?:getBrowser\(\)|gBrowser)\.loadTabs\([^;]+\);)/,
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var TSTResult = browserWindow.TreeStyleTabBookmarksService.handleTabsOpenProcess(where, aEvent, browserWindow, ids, urls, replaceCurrentTab, aFolderTitle);
|
var TSTResult = browserWindow.TreeStyleTabBookmarksService.handleTabsOpenProcess(where, aEvent, browserWindow, ids, urls, typeof replaceCurrentTab == 'undefined' ? undefined : replaceCurrentTab, aFolderTitle);
|
||||||
TSTTreeStructure = TSTResult.treeStructure;
|
TSTTreeStructure = TSTResult.treeStructure;
|
||||||
TSTPreviousTabs = TSTResult.previousTabs;
|
TSTPreviousTabs = TSTResult.previousTabs;
|
||||||
TSTOpenGroupBookmarkBehavior = TSTResult.behavior;
|
TSTOpenGroupBookmarkBehavior = TSTResult.behavior;
|
||||||
|
if (typeof replaceCurrentTab != 'undefined')
|
||||||
replaceCurrentTab = TSTResult.replaceCurrentTab;
|
replaceCurrentTab = TSTResult.replaceCurrentTab;
|
||||||
$1
|
$1
|
||||||
]]>
|
]]>
|
||||||
|
Loading…
Reference in New Issue
Block a user