[Actions] Update specs
Update specs for actions which change domain objects to reflect their restriction to types that are creatable, WTD-723.
This commit is contained in:
@@ -81,7 +81,7 @@ define(
|
||||
var object = (context || {}).domainObject,
|
||||
contextCapability = object && object.getCapability("context"),
|
||||
parent = contextCapability && contextCapability.getParent(),
|
||||
parentType = parent.getCapability('type'),
|
||||
parentType = parent && parent.getCapability('type'),
|
||||
parentCreatable = parentType && parentType.hasFeature('creation');
|
||||
|
||||
// Only creatable types should be modifiable
|
||||
|
||||
Reference in New Issue
Block a user