mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
replace legacy lvplan link in room content with cis4 lvplan link
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user