Changes for page Helpers

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

From version 2.20
edited by Benjamin Fischer
on 2025/06/04 10:19
Change comment: There is no comment for this version
To version 2.18
edited by Benjamin Fischer
on 2025/06/03 16:32
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -21,8 +21,8 @@
21 21   sortable: false,
22 22   };
23 23   });
24 - //if (tableId === "jobs")
25 - // conf.url += `&valid=${Date.now() - 30*24*3600e3}-`;
24 + if (tableId === "jobs")
25 + conf.url += `&valid=${Date.now() - 30*24*3600e3}-`;
26 26   tab.dataset.settings = JSON.stringify(conf);
27 27  
28 28   // column headers
... ... @@ -208,7 +208,6 @@
208 208   ) switch(e.tagName) {
209 209   case "UL":
210 210   e = e.previousElementSibling;
211 - if (!e) return;
212 212   case "SPAN":
213 213   e.style.textDecoration = "underline";
214 214   break;