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

This commit is contained in:
Margaret Leibovic 2012-04-30 14:11:12 -07:00
Родитель 25461c0da2
Коммит f1399a7c63
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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);
},