[API] Show a custom view in dialog

This commit is contained in:
Victor Woeltjen
2016-07-28 16:16:22 -07:00
parent 14f30b2489
commit fe2ce91d50
2 changed files with 23 additions and 6 deletions

View File

@ -221,6 +221,13 @@ define([
canView: todoType.check.bind(todoType)
});
mct.view(mct.regions.properties, {
view: function (domainObject) {
return new TodoToolbarView(domainObject);
},
canView: todoType.check.bind(todoType)
});
return mct;
};
});