Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions articles/nodejs/bot-builder-nodejs-dialog-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ bot.dialog('orderDinner', [
// Confirm before triggering the action.
// Once triggered, will end the dialog.
.cancelAction('cancelAction', 'Ok, cancel order.', {
matches: /^nevermind$|^cancel$|^cancel.*order/i
matches: /^nevermind$|^cancel$|^cancel.*order/i,
confirmPrompt: "Are you sure?"
});
```
Expand All @@ -284,4 +284,4 @@ Once this action is triggered, it will ask the user "Are you sure?" The user wil

[RecognizeIntent]: bot-builder-nodejs-recognize-intent-messages.md

[CardAction]: https://docs.botframework.com/en-us/node/builder/chat-reference/classes/_botbuilder_d_.cardaction#dialogaction
[CardAction]: https://docs.botframework.com/en-us/node/builder/chat-reference/classes/_botbuilder_d_.cardaction#dialogaction