"open bookmarks in tabs" didn't work on Nightly and lately Firefox versions (regression)

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-10-31 23:58:02 +09:00
parent 160af4684d
commit c78abb4cde

View File

@ -233,10 +233,11 @@ var TreeStyleTabBookmarksService = {
).replace(
/(browserWindow\.(?:getBrowser\(\)|gBrowser)\.loadTabs\([^;]+\);)/,
<![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;
TSTPreviousTabs = TSTResult.previousTabs;
TSTOpenGroupBookmarkBehavior = TSTResult.behavior;
if (typeof replaceCurrentTab != 'undefined')
replaceCurrentTab = TSTResult.replaceCurrentTab;
$1
]]>