anchor.diff:      slot.can_modify = false
       updateCalendar()
   
  +
  +
  +  ##
  +  # Change the last selected slot's appearence to looks like 'currently looking for a new destination to exchange'
  +  ##
     $scope.markSlotAsModifying = ->
       $scope.selectedEvent.backgroundColor = '#eee'
       $scope.selectedEvent.title = _t('i_change')
       updateCalendar()
   
  +
  +
  +  ##
  +  # Change the last selected slot's appearence to looks like 'the slot being exchanged will take this place'
  +  ##
     $scope.changeModifyMachineSlot = ->
       if $scope.events.placable
         $scope.events.placable.backgroundColor = 'white'
  
positive.code:     updateCalendar()
  
  
      ##
    # When modifying an already booked reservation, callback when the modification was successfully done.
    ##
    $scope.modifyMachineSlot = ->
  
negative.code:         slot.user = user
  
  
  
    ##
    # Update the calendar's display to render the new attributes of the events
    ##
    updateCalendar = ->
      uiCalendarConfig.calendars.calendar.fullCalendar 'rerenderEvents'
  
  
  
    ##
    # Asynchronously fetch the events from the API and refresh the calendar's view with these new events
    ##
    refetchCalendar = ->
      $timeout ->
        uiCalendarConfig.calendars.calendar.fullCalendar 'refetchEvents'
  