Quintiq file version 2.0
#parent: #root
Response OnClick (
  LibCal_ExplicitTimeInterval selection
) id:Response_LibCal_gcResourceCalendars_mnuNodeDeleteEvent_OnClick
{
  #keys: '[131092.0.2145454501]'
  CanBindMultiple: false
  DefinitionID => /Responsedef_LibCal_gcResourceCalendars_WebMenu_OnClick
  Initiator: 'mnuNodeDeleteEvent'
  Precondition:
  [*
    return LibCal_GlobalState.CheckIsEvent( selection.Participation() );
  *]
  QuillAction
  {
    Body:
    [*
      // Delete an event.
      LibCal_GlobalState.DeleteEventOrSubscription( selection.Participation() );
    *]
    GroupServerCalls: false
  }
}
