Changes for page Helpers

Last modified by Benjamin Fischer on 2025/06/17 11:57

From version 1.5
edited by Benjamin Fischer
on 2025/05/15 16:13
Change comment: There is no comment for this version
To version 1.3
edited by Benjamin Fischer
on 2025/05/15 16:11
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -2,8 +2,6 @@
2 2  
3 3  ((() => {
4 4   const tagCols = {};
5 -
6 - return;
7 7  
8 8   document.observe('xwiki:livetable:loading', () => {
9 9   for (const tab of document.querySelectorAll(".xwiki-livetable")) {
... ... @@ -35,7 +35,7 @@
35 35   tab.querySelectorAll(".xwiki-livetable-display-header-text").forEach(
36 36   el => {
37 37   const t = el.textContent.trim();
38 - const c = conf.columnDescriptors[t]?.tooltip;
36 + const c = conf.columnDescriptors[t].tooltip;
39 39   if (c) {
40 40   el.title = t;
41 41   el.dataset.content = c;