зеркало из https://github.com/mozilla/pjs.git
Bug 349438 (bug 266945 enhanced / followup) add title and set default button to no for the remove all password manager confirm prompt. p=Serge Gautherie <gautheri@noos.fr>,r=mconnor
This commit is contained in:
Родитель
5b99b331a5
Коммит
6c378426ed
|
@ -169,11 +169,10 @@ function DeleteAllSignons() {
|
||||||
// Confirm the user wants to remove all passwords
|
// Confirm the user wants to remove all passwords
|
||||||
var dummy = { value: false };
|
var dummy = { value: false };
|
||||||
if (prompter.confirmEx(window,
|
if (prompter.confirmEx(window,
|
||||||
null,
|
kSignonBundle.getString("removeAllPasswordsTitle"),
|
||||||
kSignonBundle.getString("removeAllPasswordsPrompt"),
|
kSignonBundle.getString("removeAllPasswordsPrompt"),
|
||||||
prompter.BUTTON_TITLE_YES * prompter.BUTTON_POS_0 +
|
prompter.STD_YES_NO_BUTTONS + prompter.BUTTON_POS_1_DEFAULT,
|
||||||
prompter.BUTTON_TITLE_NO * prompter.BUTTON_POS_1,
|
null, null, null, null, dummy) == 1) // 1 == "No" button
|
||||||
null, null, null, null, dummy) == 1) //1 = "No" button
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
DeleteAllFromTree(signonsTree, signonsTreeView,
|
DeleteAllFromTree(signonsTree, signonsTreeView,
|
||||||
|
|
|
@ -49,3 +49,4 @@ hidePasswords=Hide Passwords
|
||||||
showPasswords=Show Passwords
|
showPasswords=Show Passwords
|
||||||
noMasterPasswordPrompt=Are you sure you wish to show your passwords?
|
noMasterPasswordPrompt=Are you sure you wish to show your passwords?
|
||||||
removeAllPasswordsPrompt=Are you sure you wish to remove all passwords?
|
removeAllPasswordsPrompt=Are you sure you wish to remove all passwords?
|
||||||
|
removeAllPasswordsTitle=Remove all passwords
|
||||||
|
|
Загрузка…
Ссылка в новой задаче