From 0dca3fdc6542b36445c128f67796199618c3af2a Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Sat, 29 Jul 2006 05:33:59 +0000 Subject: [PATCH] bug 44146, parent window for modal dialogs, r=dveditz --- suite/common/tasksOverlay.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/suite/common/tasksOverlay.js b/suite/common/tasksOverlay.js index c29bc6b27e4b..a00e84899d75 100644 --- a/suite/common/tasksOverlay.js +++ b/suite/common/tasksOverlay.js @@ -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") {