From 93871308d16b59468c8928f5b9995f72d11e686a Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Fri, 7 Aug 2020 09:25:33 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02847=20Update=20newsroom=20templates=20w?= =?UTF-8?q?ith=20new=20variable=20in=20twig=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/popover-menu/newsroom-menu/layout.html.twig | 2 +- templates/components/popover-menu/newsroom-menu/layout.js.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/components/popover-menu/newsroom-menu/layout.html.twig b/templates/components/popover-menu/newsroom-menu/layout.html.twig index bbdd1b3bdb..ef649e0441 100644 --- a/templates/components/popover-menu/newsroom-menu/layout.html.twig +++ b/templates/components/popover-menu/newsroom-menu/layout.html.twig @@ -1,4 +1,4 @@
-
+
diff --git a/templates/components/popover-menu/newsroom-menu/layout.js.twig b/templates/components/popover-menu/newsroom-menu/layout.js.twig index 7e51cb0b59..d13e9533c4 100644 --- a/templates/components/popover-menu/newsroom-menu/layout.js.twig +++ b/templates/components/popover-menu/newsroom-menu/layout.js.twig @@ -1,6 +1,6 @@ // TODO: We need to find a clean way to launch this script only once the JS scripts are loaded document.addEventListener("DOMContentLoaded", function(){ setTimeout(function(){ - $('#{{ oNewsroomMenu.Id }}').newsroom_menu({{ oNewsroomMenu.Params|raw }}); + $('#{{ oUIBlock.Id }}').newsroom_menu({{ oUIBlock.Params|raw }}); }, 500); }); \ No newline at end of file