From 8a32e76ec0da22bf79105370bac4ac13dea5e4ca Mon Sep 17 00:00:00 2001
From: lihongji <1627013349@qq.com>
Date: 星期五, 31 五月 2024 15:55:57 +0800
Subject: [PATCH] BESI预警
---
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
index a18726d..cdc74a7 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
@@ -5,15 +5,16 @@
#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 ) );
+ dhCategory.Data(category_i);
+
sEvent := owner_i.Event( relshadow,
EventID := [String]Key::NextPersistentKey(),
// 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()
@@ -32,5 +33,7 @@
}
dhPotentialSubscribers.Data( &potentialSubscribers );
+
+ lstSubscribers.CheckAll();
*]
}
--
Gitblit v1.9.3