From a05657356788176bc50429513cc28dc2a52e3497 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Wed, 5 Feb 2025 17:47:34 +0100 Subject: [PATCH] fix: Fix Retrieving Leaderboard App - MEED-8355 - Meeds-io/MIPs#175 (#1056) Prior to this change, the Portlets specific JS in HTTP Headers wasn't included since the 'jsManager' Tag is built before building the Portlets content. This change will ensure to build the Portlet Header Markup and JS dependencies before retrieving the JS Content. --- .../groovy/portal/webui/workspace/UIApplication.gtmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIApplication.gtmpl b/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIApplication.gtmpl index c24d5aa886..29282f0946 100644 --- a/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIApplication.gtmpl +++ b/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIApplication.gtmpl @@ -1,5 +1,11 @@ +<% +uicomponent.includePortletScripts(); +%> <%_ctx.getRequestContext().getMaximizedUIPortlet().processRender(_ctx.getRequestContext());%> + \ No newline at end of file