зеркало из https://github.com/mozilla/gecko-dev.git
Bug 365996: Take advantage of old yes/no constant in nsIPromptService, patch by Ryan Jones <bugs@ryan-jones.com>, r=mscott for /mail, r=neil for /xpfe and /mailnews, r=ctho for /suite, r=me for the rest
This commit is contained in:
Родитель
d2f3188b22
Коммит
85f2fe1195
|
@ -197,8 +197,7 @@ function AskUserShowPasswords() {
|
|||
// Confirm the user wants to display passwords
|
||||
return prompter.confirmEx(window,
|
||||
null,
|
||||
kSignonBundle.getString("noMasterPasswordPrompt"),
|
||||
prompter.BUTTON_TITLE_YES * prompter.BUTTON_POS_0 + prompter.BUTTON_TITLE_NO * prompter.BUTTON_POS_1,
|
||||
kSignonBundle.getString("noMasterPasswordPrompt"), prompter.STD_YES_NO_BUTTONS,
|
||||
null, null, null, null, dummy) == 0; // 0=="Yes" button
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче