[Persistence] Handle cancelled dialog

Handle cancellation in the Overwrite/Cancel dialog, WTD-1033.
This commit is contained in:
Victor Woeltjen 2015-03-20 13:43:56 -07:00
parent 42e7862174
commit 0362d3479c

View File

@ -54,7 +54,7 @@ define(
// Prompt for user input, the overwrite if they said so. // Prompt for user input, the overwrite if they said so.
return dialogService.getUserChoice(dialogModel) return dialogService.getUserChoice(dialogModel)
.then(handleChoice); .then(handleChoice, handleChoice);
} }
return { return {