From ea61b9af280030c42dd2bc4e9d0d56d1b56e639c Mon Sep 17 00:00:00 2001 From: "hyatt@netscape.com" Date: Mon, 7 Oct 2002 21:21:11 +0000 Subject: [PATCH] Fix the regression in Tp and Ts --- browser/base/content/browser.js | 8 +++++++- browser/base/content/browser.xul | 4 ++-- browser/components/bookmarks/content/bookmarksToolbar.xml | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index fd7417cb6cae..454acc04bee9 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -565,8 +565,14 @@ function updateGoMenu(goMenu) destroyGoMenuItems(goMenu); var history = document.getElementById("hiddenHistoryTree"); - if (history.hidden) + + if (history.hidden) { history.hidden = false; + var globalHistory = Components.classes["@mozilla.org/browser/global-history;1"] + .getService(Components.interfaces.nsIGlobalHistory); + var dataSource = globalHistory.QueryInterface(Components.interfaces.nsIRDFDataSource); + history.database.AddDataSource(dataSource); + } if (!history.ref) history.ref = "NC:HistoryRoot"; diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index c4560824fabf..02a5c0c66648 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -430,8 +430,8 @@ Contributor(s): -