Changes for page Nice Display

Last modified by Benjamin Fischer on 2025/03/26 13:19

From version 44.8
edited by Benjamin Fischer
on 2025/03/25 17:43
Change comment: There is no comment for this version
To version 44.12
edited by Benjamin Fischer
on 2025/03/25 17:47
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,8 +1,12 @@
1 1  /*!
2 -#set( $ntrg_tabCols = [["Tags", true]] )
3 -#set( $ntrg_tabCols = "research_groups" )
2 +#if ( $ntrg_tagCols == $null )
3 +#set( $ntrg_tagCols = [["Tags", true]] )
4 +#end
5 +#if ( $ntrg_tabName == $null )
6 +#set( $ntrg_tabName = "research_groups" )
7 +#end
4 4  #[[*/
5 -((tabCols = [["Tags", true]], tabName = "research_groups") => {
9 +((tagCols = [["Tags", true]], tabName = "research_groups") => {
6 6  
7 7   document.observe('xwiki:livetable:loading', () => {
8 8   const mats = document.getElementById(tabName);
... ... @@ -85,4 +85,4 @@
85 85   ttApply();
86 86   });
87 87  /* ]]# */
88 -})($jsontool.serialize($ntrg_tabCols), $jsontool.serialize($ntrg_tabName));
92 +})($jsontool.serialize($ntrg_tagCols), $jsontool.serialize($ntrg_tabName));