drags out also whole json
This commit is contained in:
parent
6ce7559f14
commit
4bc4769231
|
@ -190,6 +190,7 @@ class CCPMethodList extends HTMLElement{
|
|||
ev.dataTransfer.effectAllowed = 'move'
|
||||
ev.dataTransfer.setData('text/html', ev.currentTarget.innerHTML)
|
||||
ev.dataTransfer.setData('text/plain+ccpmethod', ev.currentTarget.bss_input.data.id)
|
||||
ev.dataTransfer.setData('application/json+ccpmethod', JSON.stringify(ev.currentTarget.bss_input.data))
|
||||
},
|
||||
on_dragend : ev=>{
|
||||
ev.preventDefault()
|
||||
|
|
Loading…
Reference in New Issue