[API] Update Dialog API usage

This commit is contained in:
Victor Woeltjen 2016-08-12 12:54:39 -07:00
parent 93872ce074
commit 2463e4d59f

View File

@ -29,11 +29,10 @@ define([
if (definitions.length > 0) {
action.dialogService = Object.create(action.dialogService);
action.dialogService.getUserInput = function (form, value) {
mct.dialog(
return new mct.Dialog(
definitions[0].view(context.domainObject),
form.title
);
return Promise.resolve(value);
).show();
};
}
}