From 6ccdd25644aee6fa0ce82ba027d4d755d0ec5659 Mon Sep 17 00:00:00 2001 From: Kim Brandl Date: Fri, 2 Nov 2018 11:52:21 -0700 Subject: [PATCH] Add error code 12009 for Office.UI.dislayDialogAsync method. --- types/office-js/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 105062a56e..26631c8c1d 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1035,6 +1035,10 @@ declare namespace Office { * 12007 * A dialog box is already opened from the task pane. A task pane add-in can only have one dialog box open at a time. * + * + * 12009 + * The user chose to ignore the dialog box. This error can occur in online versions of Office, where users may choose not to allow an add-in to present a dialog. + * * * * In the callback function passed to the displayDialogAsync method, you can use the properties of the AsyncResult object to return the