diff --git a/src/components/dialog/dialog.js b/src/components/dialog/dialog.js index d1ff223282..6911f338da 100644 --- a/src/components/dialog/dialog.js +++ b/src/components/dialog/dialog.js @@ -435,8 +435,9 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) { * @name $mdDialog#confirm * * @description - * Builds a preconfigured dialog with the specified message. You can call show and the promise returned - * will be resolved only if the user clicks the confirm action on the dialog. + * Builds a preconfigured dialog with the specified message. You can call show and the promise + * returned will be resolved if the user clicks the confirm action on the dialog. The promise will + * be rejected if the user clicks the cancel action or dismisses the dialog. * * @returns {obj} an `$mdDialogPreset` with the chainable configuration methods: * @@ -460,8 +461,10 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) { * @name $mdDialog#prompt * * @description - * Builds a preconfigured dialog with the specified message and input box. You can call show and the promise returned - * will be resolved only if the user clicks the prompt action on the dialog, passing the input value as the first argument. + * Builds a preconfigured dialog with the specified message and input box. You can call show and the + * promise returned will be resolved, if the user clicks the prompt action on the dialog, passing + * the input value as the first argument. The promise will be rejected if the user clicks the cancel + * action or dismisses the dialog. * * @returns {obj} an `$mdDialogPreset` with the chainable configuration methods: *