       new_event.data("update-url", li.data("update-url"))
       $("#event-pane").append(new_event)
       add_event_to_slot(new_event, td)
+      make_draggable(new_event)
       li.remove()
       $("#add-event-modal").modal('hide')
       click_event.preventDefault()

      success: ->
        event.effect('highlight')
    )

$ ->
  $("body").delegate("div.event", "mouseenter", ->

    if $(event).data("room") and $(event).data("time")
      starting_cell = $("table[data-room='" + $(event).data("room") + "']").find("td[data-time='" + $(event).data("time") + "']")
      add_event_to_slot(event, starting_cell, false)
    make_draggable($(event))

