From e6578225ecada07f1a74e4f17f0643b46953b212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P?= Date: Fri, 8 Aug 2025 16:28:22 +0200 Subject: [PATCH] Populate biblio state for reuse data --- webgis/js/ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webgis/js/ui.js b/webgis/js/ui.js index e7fe3ba..2bcd888 100644 --- a/webgis/js/ui.js +++ b/webgis/js/ui.js @@ -225,6 +225,8 @@ UI.openReuseModal = function (data, selector) { let reuse = new Reuse(); reuse.data = data; + GisState.bibliography = reuse; + // For Stimulus biblio_controller //GisState.bibliography = underwater; reuse.render().then(html => modal.querySelector('#reuse-sheet').innerHTML = html); @@ -266,4 +268,4 @@ UI.imageGallery = function (galleryId, items, video = false) { } } -export default UI; \ No newline at end of file +export default UI;