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:
parent
e5f6c6edbd
commit
6823ce9b3f
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user