Changes for page Helpers

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

From version 1.13
edited by Benjamin Fischer
on 2025/05/15 16:44
Change comment: There is no comment for this version
To version 1.16
edited by Benjamin Fischer
on 2025/05/15 16:48
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -29,6 +29,11 @@
29 29   (v, i) => v.textContent = tagCols[tableId][i][0]
30 30   );
31 31  
32 + // filter fields
33 + tab.querySelectorAll(".xwiki-livetable-display-header-filter input[type=text]").forEach(
34 + v => v.placeholder = "Filter ..."
35 + );
36 +
32 32   // column tooltips
33 33   tab.querySelectorAll(".xwiki-livetable-display-header-text").forEach(
34 34   el => {
... ... @@ -83,7 +83,7 @@
83 83   const a = new Element("a", { href: row.link });
84 84   a.innerHTML = `<b class="wikiexternallink">${row.doc_title}</b>`;
85 85   row.doc_title = a.outerHTML;
86 -
91 +
87 87   row.doc_date = row.doc_date.split(" ")[0];
88 88   };
89 89