bug 102709, wallet: keep encrypted state and clear master password on delete-all, r=jag, sr=alecf

This commit is contained in:
morse%netscape.com 2001-10-15 22:42:48 +00:00
parent f1a7687afd
commit 38de3b0bf3
2 changed files with 14 additions and 4 deletions

View File

@ -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>

View File

@ -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.">