Changes for page Nice Display
Last modified by Benjamin Fischer on 2025/03/26 13:19
From version 44.10
edited by Benjamin Fischer
on 2025/03/25 17:45
on 2025/03/25 17:45
Change comment:
There is no comment for this version
To version 44.3
edited by Benjamin Fischer
on 2025/03/25 17:36
on 2025/03/25 17:36
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,10 +1,5 @@ 1 1 /*! 2 -#if ( $ntrg_tabCols == $null ) 3 -#set( $ntrg_tabCols = [["Tags", true]] ) 4 -#end 5 -#if ( $ntrg_tabName == $null ) 6 -#set( $ntrg_tabName = "research_groups" ) 7 -#end 2 +#set( $ntrg_tabCols == $jsontool.serialize($ntrg_tabCols) ) 8 8 #[[*/ 9 9 ((tabCols = [["Tags", true]], tabName = "research_groups") => { 10 10 ... ... @@ -75,7 +75,7 @@ 75 75 }); 76 76 77 77 require(['jquery', 'bootstrap'], function($) { 78 - document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`) ;73 + document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`) 79 79 80 80 const ttApply = () => { 81 81 $(`#${tabName} [data-toggle="popover"]`).popover({ ... ... @@ -88,5 +88,6 @@ 88 88 document.observe(`xwiki:livetable:${tabName}:displayComplete`, ttApply); 89 89 ttApply(); 90 90 }); 91 -/* ]]# */ 92 -})($jsontool.serialize($ntrg_tabCols), $jsontool.serialize($ntrg_tabName)); 86 + 87 +// ]]# 88 +})($ntrg_tabCols, $ntrg_tabName); - Use this extension
-
... ... @@ -1,1 +1,1 @@ 1 - currentPage1 +onDemand