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
This commit is contained in:
ben%netscape.com 2006-07-27 14:55:33 +00:00
parent e5f6c6edbd
commit 6823ce9b3f

View File

@ -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) {