From 76e6ac22f4a5f7ab387da7d3d8218a09acf87d67 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 4 Apr 2023 17:16:19 -0400 Subject: [PATCH] Revert "Fix bug with Data Object Interceptor picking up too much." Seems to be preventing someone from saving the file. This reverts commit c807dbcb2c1c2a30a1c8e20851c60082d46eddeb. --- app/css/app.css | 3 --- app/spiffworkflow/DataObject/DataObjectInterceptor.js | 3 ++- webpack.config.js | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/css/app.css b/app/css/app.css index 295da8b..6beed19 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -78,6 +78,3 @@ html, body { right: 10px; } -.djs-palette.two-column.open { - width: 95px; -} diff --git a/app/spiffworkflow/DataObject/DataObjectInterceptor.js b/app/spiffworkflow/DataObject/DataObjectInterceptor.js index 724b2b4..1dc6538 100644 --- a/app/spiffworkflow/DataObject/DataObjectInterceptor.js +++ b/app/spiffworkflow/DataObject/DataObjectInterceptor.js @@ -51,7 +51,8 @@ export default class DataObjectInterceptor extends CommandInterceptor { flowElements.push(businessObject); businessObject.$parent = realParent; } - } + } else + bpmnUpdater.__proto__.updateSemanticParent.call(this, businessObject, parentBusinessObject); }; /** diff --git a/webpack.config.js b/webpack.config.js index 0774e48..8fe08cf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,6 +35,7 @@ module.exports = { new CopyWebpackPlugin({ patterns: [ { from: 'assets/**', to: 'vendor/bpmn-js', context: 'node_modules/bpmn-js/dist/' }, + { from: '*.css', to: 'vendor/bpmn-js-color-picker', context: 'node_modules/bpmn-js-color-picker/colors' }, { from: 'assets/**', to: 'vendor/bpmn-js-properties-panel',