admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
_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();
  *]
}