From 7db1c4abb6ff4c24185d6eedf7a77825c2e0b99a Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Fri, 11 Oct 2024 11:13:54 +0100 Subject: [PATCH] fix: Fix Portlet preloading URL and Crossorigin - Meeds-io/meeds#2483 Prior to this change, the URL to preload when displaying the page is different from the loaded fetch call using JS services of the page layout. In addition, the crossorigin attribute has to be the same as the fetch call 'credentials' attribute which is with value 'include'. --- .../webapp/groovy/portal/webui/container/UIPageLayout.gtmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout-webapp/src/main/webapp/groovy/portal/webui/container/UIPageLayout.gtmpl b/layout-webapp/src/main/webapp/groovy/portal/webui/container/UIPageLayout.gtmpl index f541ae0d8..106dc9956 100644 --- a/layout-webapp/src/main/webapp/groovy/portal/webui/container/UIPageLayout.gtmpl +++ b/layout-webapp/src/main/webapp/groovy/portal/webui/container/UIPageLayout.gtmpl @@ -18,7 +18,7 @@ def portletId = portlets.get(i).getId(); if (portletId != null) { %> - <% + <% } } }