From 3aec9ec6ff7c4008bc88d39debdf629ef30faf8b Mon Sep 17 00:00:00 2001 From: Joel McKinnon Date: Thu, 27 Feb 2020 14:36:21 -0800 Subject: [PATCH] add setData on dragStart for FF support --- src/plugins/condition/components/Condition.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/condition/components/Condition.vue b/src/plugins/condition/components/Condition.vue index 4db35a244a..7043e26bdc 100644 --- a/src/plugins/condition/components/Condition.vue +++ b/src/plugins/condition/components/Condition.vue @@ -236,6 +236,7 @@ export default { this.domainObject.configuration.criteria.push(criteriaObject); }, dragStart(e) { + e.dataTransfer.setData('dragging', e.target); // required for FF to initiate drag e.dataTransfer.effectAllowed = "copyMove"; e.dataTransfer.setDragImage(e.target.closest('.c-c-container__container'), 0, 0); this.$emit('setMoveIndex', this.conditionIndex);