bug 44146, parent window for modal dialogs, r=dveditz

This commit is contained in:
morse%netscape.com 2006-07-29 05:33:59 +00:00
Родитель 08cf471514
Коммит 0dca3fdc65
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -298,6 +298,10 @@ function WalletAction( action )
}
if (action == "encrypt" || action == "obscure") {
wallet = Components.classes['component://netscape/wallet/wallet-service'];
wallet = wallet.getService();
wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService);
wallet.WALLET_InitReencryptCallback(window._content);
if (action == "encrypt") {
this.pref.SetBoolPref("wallet.crypto", true);
} else if (action == "obscure") {