abstracts out the DocumentType, MemberType and MediaType editor models, since some contain different props than each other and now member properties contain different properties than each other. So we have a lot of generic insanity going on... it works though.

This commit is contained in:
Shannon
2016-01-21 15:01:55 +01:00
parent 504235d6db
commit 52b1a09de0
27 changed files with 377 additions and 177 deletions

View File

@@ -512,7 +512,7 @@ function umbDataFormatter() {
});
var saveProperties = _.map(realProperties, function (p) {
var saveProperty = _.pick(p, 'id', 'alias', 'description', 'validation', 'label', 'sortOrder', 'dataTypeId', 'groupId');
var saveProperty = _.pick(p, 'id', 'alias', 'description', 'validation', 'label', 'sortOrder', 'dataTypeId', 'groupId', 'memberCanEdit', 'showOnMemberProfile');
return saveProperty;
});