diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js
index 0b11e66..0384a08 100644
--- a/ccp/js/executionhistorycontroller.js
+++ b/ccp/js/executionhistorycontroller.js
@@ -82,7 +82,7 @@ class CCPExecutionHistory extends HTMLElement {
X
- -
+
-
@@ -311,6 +311,15 @@ class CCPExecutionHistory extends HTMLElement {
target : "li.ccp-execution-item",
"in" : (e,d)=>this.#filtered[d],
apply : (e,d)=>e.setAttribute("data-index", d.id),
+ on_dragstart : ev=>{
+ ev.dataTransfer.effectAllowed = 'move'
+ ev.dataTransfer.setData('text/html', ev.currentTarget.innerHTML)
+ ev.dataTransfer.setData('text/plain+ccpexecution', ev.currentTarget.getAttribute("data-index"))
+ ev.dataTransfer.setData('application/json+ccpexecution', JSON.stringify(ev.currentTarget.bss_input.data))
+ },
+ on_dragend : ev=>{
+ ev.preventDefault()
+ },
on_click: ev=>{
if(ev.target.getAttribute("name") === "delete"){
if(window.confirm("Confirm deletion of this execution?")){