Bug 553371 - Overlapping text on plugin crash UI. r=gavin

This commit is contained in:
Justin Dolske 2010-03-23 16:32:00 -07:00
Родитель c11a0e9d48
Коммит c2b26fa3f0
1 изменённых файлов: 14 добавлений и 13 удалений

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

@ -6295,21 +6295,22 @@ var gMissingPluginInstaller = {
let submitLabel = gNavigatorBundle.getString("crashedpluginsMessage.submitButton.label");
let submitKey = gNavigatorBundle.getString("crashedpluginsMessage.submitButton.accesskey");
let buttons = [
let buttons = [{
label: reloadLabel,
accessKey: reloadKey,
popup: null,
callback: function() { browser.reload(); },
}];
#ifdef MOZ_CRASHREPORTER
{
label: submitLabel,
accessKey: submitKey,
popup: null,
callback: function() { gMissingPluginInstaller.submitReport(minidumpID); },
},
let submitButton = {
label: submitLabel,
accessKey: submitKey,
popup: null,
callback: function() { gMissingPluginInstaller.submitReport(minidumpID); },
};
if (minidumpID)
buttons.push(submitButton);
#endif
{
label: reloadLabel,
accessKey: reloadKey,
popup: null,
callback: function() { browser.reload(); },
}];
let notification = notificationBox.appendNotification(messageString, "plugin-crashed",
iconURL, priority, buttons);