mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 19:36:41 +00:00
add setData on dragStart for FF support
This commit is contained in:
parent
96e433beaa
commit
3aec9ec6ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user