lazhen
2024-05-28 0f073fb4ebe2b305d6fb2733553b633147536149
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
@@ -5,7 +5,7 @@
  #keys: '[415136.0.666291565]'
  Body:
  [*
    owner_i := dhCalendarUse.Data();
    owner_i := LibCal_GlobalState.dhGlobalCalendarRegistry().Data().CommonCalendar();
    category_i := selectobject( owner_i,CalendarRegistry.EventCategory, category, category.Name() = 'Unavaliable' );
    info( '-------------------------------', isnull( owner_i ), isnull( category_i ) );
    sEvent := owner_i.Event( relshadow,
@@ -13,7 +13,7 @@
    //                         StartTimeOfDay := start_i.TimeOfDay( timezone ),
    //                         EndTimeOfDay   := end_i  .TimeOfDay( timezone ),
                             EventCategory  := category_i,
                             IsDefault      := owner_i.istype( LibCal_CommonCalendar ) );
                             IsDefault      := false );
    
    sLeadPart := owner_i.Participation( relshadow, LibCal_LeadingParticipation,
                                        ParticipationID := [String]Key::NextPersistentKey()