From 6823ce9b3fd267940a414fec232dda16decd78e8 Mon Sep 17 00:00:00 2001 From: "ben%netscape.com" Date: Thu, 27 Jul 2006 14:55:33 +0000 Subject: [PATCH] blocker 126704 - can't load history items. removing some unnecessary code. git-svn-id: svn://10.0.0.236/trunk@204714 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/common/history/history.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/mozilla/suite/common/history/history.js b/mozilla/suite/common/history/history.js index c5f73904845..9e45db9ebd1 100644 --- a/mozilla/suite/common/history/history.js +++ b/mozilla/suite/common/history/history.js @@ -254,13 +254,8 @@ function collapseExpand() function OpenURL(aInNewWindow) { - var currentIndex = gHistoryOutliner.currentIndex; - if (isContainer(gHistoryOutliner, currentIndex)) { - if (gHistoryOutliner.getAttribute("clickcount") == "1") - gHistoryOutliner.outlinerBoxObject.view.toggleOpenState(currentIndex); - return false; - } - + var currentIndex = gHistoryOutliner.currentIndex; + var builder = gHistoryOutliner.builder.QueryInterface(Components.interfaces.nsIXULOutlinerBuilder); var url = builder.getResourceAtIndex(currentIndex).Value; if (aInNewWindow) {