Changes for page Helpers

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

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

Summary

Details

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