зеркало из https://github.com/mozilla/pjs.git
Making security dialogs default to off after one viewing *in Phoenix only*. Not part of normal build.
This commit is contained in:
Родитель
6c66eb9669
Коммит
4601104a75
|
@ -542,7 +542,11 @@ nsNSSDialogs::AlertDialog(nsIInterfaceRequestor *ctx, const char *prefName,
|
|||
mStringBundle->GetStringFromName(showAgainName,
|
||||
getter_Copies(dontShowAgain));
|
||||
if (!windowTitle || !message || !dontShowAgain) return NS_ERROR_FAILURE;
|
||||
|
||||
|
||||
#ifdef MOZ_PHOENIX
|
||||
prefValue = PR_FALSE;
|
||||
#endif
|
||||
|
||||
rv = prompt->AlertCheck(windowTitle, message, dontShowAgain, &prefValue);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче