From 3f3e253f3a1c8cc1b0d4bf989aa2c2b8059cd28b Mon Sep 17 00:00:00 2001 From: "Stefan.Borggraefe%gmx.de" Date: Thu, 27 Jul 2006 14:58:23 +0000 Subject: [PATCH] Fix for bug 131480: "Can't do two successive history searches" r+sr=neil git-svn-id: svn://10.0.0.236/trunk@204884 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/common/history/history.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mozilla/suite/common/history/history.js b/mozilla/suite/common/history/history.js index 42961afc978..e914a050a33 100644 --- a/mozilla/suite/common/history/history.js +++ b/mozilla/suite/common/history/history.js @@ -351,6 +351,14 @@ function OpenURLArrayInTabs(aURLArray) } } +/** + * Root the tree on a given URI (used for displaying search results) + */ +function setRoot(root) +{ + gHistoryTree.ref = root; +} + function GroupBy(aGroupingType) { gHistoryGrouping = aGroupingType;