Ignore:
Timestamp:
Feb 4, 2024, 2:14:37 PM (9 months ago)
Author:
chronos
Message:
  • Modified: Update Common package.
  • Added: Project group.
  • Modified: Assign ModuleUser to modules which use it in later time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/ZdechovNET/DocumentsPage.pas

    r146 r149  
    1212  TDocumentsPage = class(TWebPage)
    1313    procedure DataModuleProduce(HandlerData: THTTPHandlerData);
    14   public
    15     ModuleUser: TModuleUser;
    16   end;
     14  end;
    1715
    1816var
     
    3028
    3129procedure TDocumentsPage.DataModuleProduce(HandlerData: THTTPHandlerData);
     30var
     31  ModuleUser: TModuleUser;
    3232begin
    3333  with TWebSession(HandlerData) do begin
     34    ModuleUser := TModuleUser(ModuleManager.FindModuleByName('User'));
    3435    ModuleUser.LoadUserInfo;
    3536    with HtmlDocument.Body, SubItems.AddString do begin
Note: See TracChangeset for help on using the changeset viewer.