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); }