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.6
edited by Benjamin Fischer
on 2025/03/25 17:41
on 2025/03/25 17:41
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,6 @@ 1 1 /*! 2 -#if ( $ntrg_tabCols == $null ) 3 3 #set( $ntrg_tabCols = [["Tags", true]] ) 4 -#end 5 -#if ( $ntrg_tabName == $null ) 6 -#set( $ntrg_tabName = "research_groups" ) 7 -#end 3 +#set( $ntrg_tabCols = "research_groups" ) 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%;}`) ;74 + 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,8 @@ 88 88 document.observe(`xwiki:livetable:${tabName}:displayComplete`, ttApply); 89 89 ttApply(); 90 90 }); 87 +/* end1 */ 91 91 /* ]]# */ 89 +/* end2 */ 92 92 })($jsontool.serialize($ntrg_tabCols), $jsontool.serialize($ntrg_tabName)); 91 +/* end3 */