         e?.stopPropagation()
         e.dataTransfer.effectAllowed = 'copy'
         data = parsedDrag(scope)
-        dndHelper.setDraggedData(e, { asset: data })
+        dndHelper.setDraggedData({ asset: data })
         return false
 
       el.addEventListener "dragend", (e) ->

.directive "assetDropzone", (currentGame, dndHelper, circuits) ->
  restrict: 'A',
  link: (scope, element, attrs) ->
    acceptDrop = (event) -> dndHelper.getDraggedData(event)?.asset?

    el = element[0]
    el.addEventListener "drop", (event) -> 


      draggedData = dndHelper.getDraggedData(event)
      
      currentGame.version.assets[draggedData.asset.name] = draggedData.asset.data
      currentGame.updateLocalVersion()

      return false
