From 146bb5f336c0d6633baff0f6f92eacabf480cbf8 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Mon, 3 Nov 2025 15:34:54 +0100 Subject: [PATCH] replace legacy lvplan link in room content with cis4 lvplan link --- .../components/Cis/Cms/Content_types/Raum_contentmittitel.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/components/Cis/Cms/Content_types/Raum_contentmittitel.js b/public/js/components/Cis/Cms/Content_types/Raum_contentmittitel.js index 8373b6ac9..902a05aca 100644 --- a/public/js/components/Cis/Cms/Content_types/Raum_contentmittitel.js +++ b/public/js/components/Cis/Cms/Content_types/Raum_contentmittitel.js @@ -100,6 +100,11 @@ export default { link_element.href = FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router + "/CisVue/Cms/getRoomInformation/" + room_name; link_element.appendChild(title.cloneNode(true)); title.replaceWith(link_element); + + let lvplanlinks = document.querySelectorAll('.menubox a[href*="stpl_week.php"]'); + for(let lvplanlink of lvplanlinks) { + lvplanlink.href = link_element.href; + } } else {