Polishing.

git-svn-id: svn://10.0.0.236/trunk@130786 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com 2002-09-30 05:12:38 +00:00
parent 332b0ac13b
commit 01604dda61

View File

@ -52,6 +52,7 @@ var gWindowManager = null;
function HistoryWindowInit()
{
gHistoryStatus = document.getElementById("statusbar-display");
HistoryCommonInit();
gHistoryTree.focus();
}
@ -61,8 +62,7 @@ function HistoryCommonInit()
gHistoryTree = document.getElementById("historyTree");
gDeleteByHostname = document.getElementById("menu_deleteByHostname");
gDeleteByDomain = document.getElementById("menu_deleteByDomain");
gHistoryBundle = document.getElementById("historyBundle");
gHistoryStatus = document.getElementById("statusbar-display");
gHistoryBundle = document.getElementById("historyBundle");
gSearchBox = document.getElementById("search-box");
var treeController = new nsTreeController(gHistoryTree);
@ -148,10 +148,12 @@ function historyOnSelect()
if (match && match.length>1)
gLastHostname = match[3];
gHistoryStatus.label = url;
if (gHistoryStatus)
gHistoryStatus.label = url;
}
else {
gHistoryStatus.label = "";
if (gHistoryStatus)
gHistoryStatus.label = "";
}
if (gLastHostname) {