From f48c5744bd10352514e5025e73a74f71ed3575f3 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Thu, 6 Jan 2011 11:46:20 +0900 Subject: [PATCH] new tabs opened by selection search from the context menu never became children of the current tab --- content/treestyletab/treestyletab.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 85ab3b11..02f6f02a 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -514,6 +514,19 @@ var TreeStyleTabService = { ) ); + if ('BrowserSearch' in window && + 'loadSearch' in BrowserSearch) { + eval('BrowserSearch.loadSearch = '+ + BrowserSearch.loadSearch.toSource().replace( + 'if (useNewTab) {', + + ) + ); + } + this._splitFunctionNames(