зеркало из https://github.com/mozilla/pjs.git
set page proxy state after window shows.
This commit is contained in:
Родитель
377596c9cd
Коммит
b975434f83
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче