[pgadmin-hackers] [pgAdmin4][RM_2424]: Menu Items don't appear in tools menu formodules that are loaded using deps - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgadmin-hackers] [pgAdmin4][RM_2424]: Menu Items don't appear in tools menu formodules that are loaded using deps
Date
Msg-id CAM5-9D86hMaWan8o5ram63dqEPPPkTO8YaaWV5H2fvp-2v2yag@mail.gmail.com
Whole thread Raw
Responses Re: [pgadmin-hackers] [pgAdmin4][RM_2424]: Menu Items don't appear intools menu for modules that are loaded using deps
List pgadmin-hackers
Hi

Issue:

If modules are loaded without any node dependency(i.e: on page load), the function 'create_menu' is called implicitly to generate menu items.

But when the modules are loaded when its dependent node expands, the function 'create_menus' has to explicitly call after 'add_menus' from respective module's template files.

This patch is dependent on patch 'load_modules_js_when_required.patch'

Please find attached patch and review.
Attachment

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: [pgadmin-hackers] feature test timeouts
Next
From: "Archit PCE2/CE/14/011"
Date:
Subject: [pgadmin-hackers] Issue about pgadmin4