Bug 410751 - "BrowserPageInfo() in Firefox 3.0b2 breaks API compatibility with earlier versions of Firefox and with SeaMonkey" [p=philip.chee@gmail.com (Philip Chee) r=Mano r=florian a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2008-01-05 19:50:37 -08:00
parent 730e87b1f5
commit f1dd2333a8
2 changed files with 3 additions and 3 deletions

View File

@ -3923,7 +3923,7 @@ function onViewToolbarCommand(aEvent)
function displaySecurityInfo()
{
BrowserPageInfo(null, "security");
BrowserPageInfo(null, "securityTab");
}
/**

View File

@ -308,12 +308,12 @@ function onLoadPageInfo()
loadPageInfo();
/* Select the requested tab, if the name is specified */
var initialTab = "general";
var initialTab = "generalTab";
if ("arguments" in window && window.arguments.length >= 1 &&
window.arguments[0] && window.arguments[0].initialTab)
initialTab = window.arguments[0].initialTab;
var radioGroup = document.getElementById("viewGroup");
initialTab = document.getElementById(initialTab + "Tab") || document.getElementById("generalTab");
initialTab = document.getElementById(initialTab) || document.getElementById("generalTab");
radioGroup.selectedItem = initialTab;
radioGroup.selectedItem.doCommand();
radioGroup.focus();