mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
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:
parent
730e87b1f5
commit
f1dd2333a8
@ -3923,7 +3923,7 @@ function onViewToolbarCommand(aEvent)
|
||||
|
||||
function displaySecurityInfo()
|
||||
{
|
||||
BrowserPageInfo(null, "security");
|
||||
BrowserPageInfo(null, "securityTab");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user