lazhen
2024-05-27 91868cd1ea7eeb00fb573b4ef7a128e988b7a330
_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateEvent#778.def
@@ -30,7 +30,7 @@
    {
      sEvent.Type( LibCal_Event::TYPE_PARTIAL() );
    }
    info( '------------------------------', category_i.Name(), sEvent.Type(), sEvent.EventCategory().Name() );
    // Set the Event and the related controls...
    // The values are explicitly assigned here 'at the beginning' to the controls,
    // so that the values can be used by the rest of the logic. Databinding is executed too late for that.
@@ -57,8 +57,8 @@
    
    // Initialize the category here, when done in the OnCreate() there is no selection in the DropDownList.
    // Select the general category for new events.
    this.InitializeCategories();
    ddlCategory.Data( owner_i.CalendarRegistry().GetGeneralEventCategory() );
    //this.InitializeCategories();
    //ddlCategory.Data( owner_i.CalendarRegistry().GetGeneralEventCategory() );
    
    // Must be done here, when done in the OnCreate() the checkmarks are not always set when the dialog is opened for editing an event.
    // Pre-select all resources as subscriber when creating a common event.