Quintiq file version 2.0
#parent: lstParticipations
Response OnClick (
  LibCal_Participation selection
) id:Response_lstParticipations_mnuNewSubscription_OnClick
{
  #keys: '[131094.1.1219673241]'
  Body:
  [*
    // Particpation; create a new subscription.
    LibCal_GlobalState.CreateSubscription( this, selection.Calendar() );
  *]
  CanBindMultiple: false
  DefinitionID => /lstParticipations/Responsedef_lstParticipations_Menu_OnClick
  Initiator: 'mnuNewSubscription'
  Precondition:
  [*
    return LibCal_GlobalState.HasPotentialEventsToSubscribeTo( selection.Calendar() );
  *]
}
