Bug 750130 - Telemetry doorhanger appears then disappears when onLocationChange is fired during startup. r=bnicholson a=android-only

This commit is contained in:
Margaret Leibovic 2012-04-30 14:11:12 -07:00
parent c9074a8385
commit 79c4548e66

View File

@ -416,7 +416,10 @@ var BrowserApp = {
link: {
label: learnMoreLabel,
url: learnMoreUrl
}
},
// We're adding this doorhanger during startup, before the initial onLocationChange
// event fires, so we need to set persistence to make sure it doesn't disappear.
persistence: 1
};
NativeWindow.doorhanger.show(message, "telemetry-optin", buttons, this.selectedTab.id, options);
},