chore(modeling/behavior): cleanup code

This commit is contained in:
Nico Rehwaldt 2016-01-25 21:17:27 +01:00 committed by pedesen
parent cc142d8fd5
commit cc2cf3f561
1 changed files with 3 additions and 3 deletions

View File

@ -21,10 +21,10 @@ function CreateDataObjectBehavior(eventBus, bpmnFactory, moddle) {
if (is(shape, 'bpmn:DataObjectReference') && shape.type !== 'label') {
// create a DataObject every time a DataObjectReference is created
var dataObjectShape = bpmnFactory.create('bpmn:DataObject');
var dataObject = bpmnFactory.create('bpmn:DataObject');
// set the reference to the DataObject
shape.businessObject.dataObjectRef = dataObjectShape;
shape.businessObject.dataObjectRef = dataObject;
}
});