         saveSelection(droppable, ui.draggable)
       accept: (draggable) ->
         return false unless draggable.hasClass 'member-card'
-        onSameCall $(@), draggable
+        sameContext $(@), draggable
 
     $('.call-for-application.open .member-card-empty, .edit-members .member-card-empty').droppable
       activeClass: 'highlight-drop-area'

        return false unless draggable.hasClass 'member-card'
        return false if $(@).find('.member-card').length > 0
        return false if $(@).hasClass('no-deputy')
        onSameCall $(@), draggable
      drop: (event, ui) ->
        droppable = $(@)
        droppable.prepend(ui.draggable)

      return false

  initCallSelectionDragNDrops = () ->
    sameContext = (droppable, draggable) ->
      getCallFormId = (elem) ->
        call = elem.parents('.call-for-application:first')
        if call.length > 0
          call.find('form.edit_call').attr('id')
        else
          elem.parents('form.edit_organ').attr('id')
      droppableId = getCallFormId(droppable)
      draggableId = getCallFormId(draggable)
      droppableId? and draggableId? and droppableId == draggableId


    saveSelection = (droppable, draggable) ->
      form = draggable.find('form')
