This commit is contained in:
Bill McCloskey 2012-01-27 11:54:23 -08:00
commit 6776b7e6e2

View File

@ -307,7 +307,7 @@ var BrowserApp = {
observe: function(aSubject, aTopic, aData) {
Services.obs.removeObserver(restoreCleanup, "sessionstore-windows-restored");
if (aData == "fail")
BrowserApp.addTab("about:home", { showProgress: false });
BrowserApp.addTab("about:home");
}
};
Services.obs.addObserver(restoreCleanup, "sessionstore-windows-restored", false);
@ -316,7 +316,7 @@ var BrowserApp = {
// Start the restore
ss.restoreLastSession(restoreToFront);
} else {
this.addTab(url, { showProgress: url != "about:home" });
this.addTab(url);
// show telemetry door hanger if we aren't restoring a session
this._showTelemetryPrompt();