From 73c6c883c557d134359663d3173d0372d00a129a Mon Sep 17 00:00:00 2001 From: jdotzki Date: Tue, 3 Mar 2015 15:52:40 +0100 Subject: [PATCH] fix(replace): run model updates on 'execute' close bpmn-io/bpmn-js#213 --- lib/features/replace/BpmnReplace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/replace/BpmnReplace.js b/lib/features/replace/BpmnReplace.js index e4ef7953..c7c95fd0 100644 --- a/lib/features/replace/BpmnReplace.js +++ b/lib/features/replace/BpmnReplace.js @@ -14,7 +14,7 @@ function BpmnReplace(modeling, eventBus, moddle) { this._modeling = modeling; eventBus.on([ - 'commandStack.shape.replace.postExecute' + 'commandStack.shape.replace.execute' ], function(event) { var context = event.context,