mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
bug 102709, wallet: keep encrypted state and clear master password on delete-all, r=jag, sr=alecf
This commit is contained in:
parent
f1a7687afd
commit
38de3b0bf3
@ -88,9 +88,12 @@
|
||||
}
|
||||
break;
|
||||
case "clear":
|
||||
if (window.confirm(strings.getAttribute("AllDataWillBeCleared"))) {
|
||||
wallet.WALLET_DeleteAll();
|
||||
}
|
||||
|
||||
var pipNSSBundle = document.getElementById("bundle_pipnss");
|
||||
var tokenName = pipNSSBundle.getString("InternalToken");
|
||||
window.open("chrome://pippki/content/resetpassword.xul",
|
||||
tokenName,
|
||||
"centerscreen,chrome,resizable=1,modal=1,dialog=1");
|
||||
break;
|
||||
case "encrypt":
|
||||
if (pref) {
|
||||
@ -219,4 +222,11 @@
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menupopup>
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
<stringbundle id="bundle_pipnss"
|
||||
src="chrome://pipnss/locale/pipnss.properties"/>
|
||||
</stringbundleset>
|
||||
|
||||
|
||||
</overlay>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<!ENTITY walletEncryptCmd.accesskey "e">
|
||||
<!ENTITY walletObscureCmd.label "Obscure Sensitive Information">
|
||||
<!ENTITY walletObscureCmd.accesskey "o">
|
||||
<!ENTITY walletClearCmd.label "Clear Sensitive Information">
|
||||
<!ENTITY walletClearCmd.label "Reset Master Password">
|
||||
<!ENTITY walletClearCmd.accesskey "r">
|
||||
|
||||
<!ENTITY PasswordNotChanged "Unable to change the password that protects your sensitive information.">
|
||||
|
Loading…
Reference in New Issue
Block a user