Followup to Bug 629485 - Show close window warning when closing the last window [r=gavin, a=blocking2.0:betaN+]

This commit is contained in:
Paul O’Shannessy 2011-02-08 11:04:13 -08:00
parent a9128640d0
commit 39ce7dd3b5

View File

@ -523,8 +523,8 @@ BrowserGlue.prototype = {
var brandBundle = Services.strings.createBundle("chrome://branding/locale/brand.properties");
var appName = brandBundle.GetStringFromName("brandShortName");
var quitDialogTitle = quitBundle.formatStringFromName(aQuitType + "DialogTitle",
[appName], 1);
var quitTitleString = (aQuitType == "restart" ? "restart" : "quit") + "DialogTitle";
var quitDialogTitle = quitBundle.formatStringFromName(quitTitleString, [appName], 1);
var message;
if (aQuitType == "restart")