From 880f3c0257eeb8c37761d484258fdd102a369a19 Mon Sep 17 00:00:00 2001
From: 陈清红 <420599804@qq.com>
Date: 星期一, 14 四月 2025 16:46:36 +0800
Subject: [PATCH] BUG&优化项

---
 _Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_OnOK.def |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_OnOK.def b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_OnOK.def
index 2e386a0..7e2c2c7 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_OnOK.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_OnOK.def
@@ -1,8 +1,6 @@
 Quintiq file version 2.0
 #parent: #root
-Method OnOK (
-  structured[LibCal_Calendar] subscribers_i
-) id:Method_LibCal_dlgMultipleEvent_OnOK
+Method OnOK () id:Method_LibCal_dlgMultipleEvent_OnOK
 {
   #keys: '[415136.0.647733138]'
   Body:
@@ -19,17 +17,18 @@
     //}
     
     // subscribers_i contains the calendars that are checked in the list with subscribers.
-    subscribers := subscribers_i.Copy();
-    dhSubscribers.Data( &subscribers );
+    //subscribers := subscribers_i.Copy();
+    //dhSubscribers.Data( &subscribers );
     
     // If the dialog was opened from dlgSubscription, update the data in that dialog.
-    if( not isnull( dhdlgSubscription.Data() ) )
-    {
-      this.CallbackSubscriptionDialog();
-    }
+    //if( not isnull( dhdlgSubscription.Data() ) )
+    //{
+    //  this.CallbackSubscriptionDialog();
+    //}
     
     // Effectuate the changes and close the form.
-    Form.CreateUpdateEventAndParticipation();
-    Form.Close();
+    event := Form.CreateUpdateEventAndParticipation();
+    info( '-------------1----------------', isnull( event ) );
+    //Form.Close();
   *]
 }

--
Gitblit v1.9.3