From 5cb20cfbcd82f6950a44b6b8bfeba3c0bf76a455 Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Thu, 13 Jan 2005 15:56:56 +0000 Subject: [PATCH] fix 277620 compose window can't prompt for passwords, sr=mscott git-svn-id: svn://10.0.0.236/trunk@167671 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mail/components/compose/content/MsgComposeCommands.js | 1 + .../mailnews/compose/resources/content/MsgComposeCommands.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mozilla/mail/components/compose/content/MsgComposeCommands.js b/mozilla/mail/components/compose/content/MsgComposeCommands.js index 54aa7e892cb..afc086b8aaa 100644 --- a/mozilla/mail/components/compose/content/MsgComposeCommands.js +++ b/mozilla/mail/components/compose/content/MsgComposeCommands.js @@ -1797,6 +1797,7 @@ function GenericSendMessage( msgType ) gSendOrSaveOperationInProgress = true; } msgWindow.SetDOMWindow(window); + msgWindow.rootDocShell.allowAuth = true; gMsgCompose.SendMsg(msgType, getCurrentIdentity(), currentAccountKey, msgWindow, progress); } catch (ex) { diff --git a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js index 3e271b72d5a..a49a7227faa 100644 --- a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js +++ b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js @@ -160,6 +160,8 @@ function InitializeGlobalVariables() gLastWindowToHaveFocus = null; gReceiptOptionChanged = false; gAttachVCardOptionChanged = false; + + } InitializeGlobalVariables(); @@ -1775,6 +1777,7 @@ function GenericSendMessage( msgType ) gSendOrSaveOperationInProgress = true; } msgWindow.SetDOMWindow(window); + msgWindow.rootDocShell.allowAuth = true; gMsgCompose.SendMsg(msgType, getCurrentIdentity(), currentAccountKey, msgWindow, progress); }