Quintiq file version 2.0
#parent: GanttChartCapacityPlanning
Response OnClick (
  structured[Object] row
) id:Response_GanttChartCapacityPlanning_MenuEditCalendarRow_OnClick
{
  #keys: '[151892.0.52076999]'
  CanBindMultiple: false
  DefinitionID => /GanttChartCapacityPlanning/Responsedef_GanttChartCapacityPlanning_WebMenu_OnClick
  Initiator: 'MenuEditCalendarRow'
  Precondition:
  [*
    return Unit::CanEditCalendar( row, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      //Edit calendar
      unit := row.Element( 0).astype( Unit );
      dlg := construct( LibCal_dlgEditCalendar );
      dlg.Open( unit.UnitCalendar(), "modal");
    *]
    GroupServerCalls: false
  }
}
