chore(modeling): use postExecuted when checking connection rules

This commit is contained in:
Nico Rehwaldt 2015-07-29 17:56:14 +02:00
parent 568afdd118
commit 359e0e01f4
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ function ReplaceConnectionBehavior(eventBus, modeling, bpmnRules) {
}
}
this.postExecute('shapes.move', function(context) {
this.postExecuted('shapes.move', function(context) {
var closure = context.closure,
allConnections = closure.allConnections;
@ -79,7 +79,7 @@ function ReplaceConnectionBehavior(eventBus, modeling, bpmnRules) {
forEach(allConnections, replaceConnection);
}, true);
this.postExecute([
this.postExecuted([
'connection.reconnectStart',
'connection.reconnectEnd'
], function(event){