-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block to send mail on failing to start dialog or closing dialog #14
Conversation
src/web/app.js
Outdated
@@ -112,6 +112,13 @@ function onMessageSend(event) { | |||
width: 60, | |||
}, | |||
function (asyncResult) { | |||
if (asyncResult.status === Office.AsyncResultStatus.Failed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「FlexConfirmMail のため新しいウィンドウを表示しようとしています。」で「無視」を指定した場合などにここを通る。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「FlexConfirmMail のため新しいウィンドウを表示しようとしています。」で「無視」を指定した後、画面をリロードするまでダイアログが表示されなくなることを確認しています。調査しても仕様かバグかわからなかったため(Outlook側が「無視」したことを記憶しているかもしれない)、一旦そのままにしています。
… with the up-right closing button
e7d6510
to
0be5fa6
Compare
@@ -111,6 +111,13 @@ async function onMessageSend(event) { | |||
promptBeforeOpen: needToPromptBeforeOpen, | |||
}, | |||
(asyncResult) => { | |||
if (asyncResult.status === Office.AsyncResultStatus.Failed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「FlexConfirmMail のため新しいウィンドウを表示しようとしています。」で「無視」を指定した場合などにここを通る。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「FlexConfirmMail のため新しいウィンドウを表示しようとしています。」で「無視」を指定した後、画面をリロードするまでダイアログが表示されなくなることを確認しています。調査しても仕様かバグかわからなかったため(Outlook側が「無視」したことを記憶しているかもしれない)、一旦そのままにしています。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that these changes work as described.
Block to send a mail on failing to start a dialog or closing a dialog with the up-right closing button.