Squashed 'bpmn-js-spiffworkflow/' changes from 6391337a8..24a71ec5e
24a71ec5e do not update element properties if we do not need to since it can cause a change event w/ burnettk git-subtree-dir: bpmn-js-spiffworkflow git-subtree-split: 24a71ec5e2cbbefce58be4b4610151db4a55a8e1
This commit is contained in:
parent
a5ebbe24fd
commit
79c0366cc7
|
@ -84,10 +84,6 @@ function requestOptions(eventBus, element, commandStack, optionType) {
|
||||||
// or you risk a race condition.
|
// or you risk a race condition.
|
||||||
eventBus.once(`spiff.${optionType}.returned`, (event) => {
|
eventBus.once(`spiff.${optionType}.returned`, (event) => {
|
||||||
spiffExtensionOptions[optionType] = event.options;
|
spiffExtensionOptions[optionType] = event.options;
|
||||||
commandStack.execute('element.updateProperties', {
|
|
||||||
element,
|
|
||||||
properties: {},
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
eventBus.fire(`spiff.${optionType}.requested`, { eventBus });
|
eventBus.fire(`spiff.${optionType}.requested`, { eventBus });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue