set page proxy state after window shows.
git-svn-id: svn://10.0.0.236/trunk@131905 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9e8b6dedfd
commit
69b1ff6bca
@ -260,8 +260,6 @@ function Startup()
|
||||
var toolbox = document.getElementById("navigator-toolbox");
|
||||
toolbox.customizeDone = BrowserToolboxCustomizeDone;
|
||||
|
||||
SetPageProxyState("invalid", null);
|
||||
|
||||
var webNavigation;
|
||||
try {
|
||||
// Create the browser instance component.
|
||||
@ -403,6 +401,7 @@ function Startup()
|
||||
function delayedStartup(aElt)
|
||||
{
|
||||
gBrowser.addEventListener("load", function(evt) { setTimeout(loadEventHandlers, 0, evt); }, true);
|
||||
|
||||
if (gMustLoadSidebar) {
|
||||
var sidebar = document.getElementById("sidebar");
|
||||
sidebar.setAttribute("src", window.opener.document.getElementById("sidebar").getAttribute("src"));
|
||||
@ -423,6 +422,8 @@ function delayedStartup(aElt)
|
||||
|
||||
WindowFocusTimerCallback(aElt);
|
||||
|
||||
SetPageProxyState("invalid", null);
|
||||
|
||||
// Get the preferences service
|
||||
var prefService = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefService);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user