Changes for page People in ErUM-Data
Last modified by Benjamin Fischer on 2025/03/26 13:22
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -6,7 +6,7 @@ 6 6 ] 7 7 8 8 document.observe('xwiki:livetable:loading', () => { 9 - const mats = document.getElementById(ta gName);9 + const mats = document.getElementById(tabName); 10 10 11 11 // coulmn data sources 12 12 const conf = JSON.parse(mats.dataset.settings); ... ... @@ -28,7 +28,7 @@ 28 28 ); 29 29 30 30 // handle clicks for tags 31 - document.getElementById(`${ta gName}-display`).addEventListener("click", ev => {31 + document.getElementById(`${tabName}-display`).addEventListener("click", ev => { 32 32 if (ev.button) return; // only left click 33 33 if (ev.target.nodeName !== "SPAN") return; 34 34 if (!ev.target.classList.contains("ltTag")) return; ... ... @@ -44,7 +44,7 @@ 44 44 }) 45 45 }); 46 46 47 -document.observe(`xwiki:livetable:${ta gName}:receivedEntries`, ({memo: {data}}) => {47 +document.observe(`xwiki:livetable:${tabName}:receivedEntries`, ({memo: {data}}) => { 48 48 debugger; 49 49 return; 50 50 for (const row of data.rows) {