Changes for page Nice Display
Last modified by Benjamin Fischer on 2025/03/26 13:19
From version 44.4
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
To version 44.9
edited by Benjamin Fischer
on 2025/03/25 17:43
on 2025/03/25 17:43
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,5 +1,6 @@ 1 1 /*! 2 -#set( $ntrg_tabCols == $jsontool.serialize($ntrg_tabCols) ) 2 +#set( $ntrg_tabCols = [["Tags", true]] ) 3 +#set( $ntrg_tabName = "research_groups" ) 3 3 #[[*/ 4 4 ((tabCols = [["Tags", true]], tabName = "research_groups") => { 5 5 ... ... @@ -70,7 +70,7 @@ 70 70 }); 71 71 72 72 require(['jquery', 'bootstrap'], function($) { 73 - document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`) 74 + document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`); 74 74 75 75 const ttApply = () => { 76 76 $(`#${tabName} [data-toggle="popover"]`).popover({ ... ... @@ -83,6 +83,5 @@ 83 83 document.observe(`xwiki:livetable:${tabName}:displayComplete`, ttApply); 84 84 ttApply(); 85 85 }); 86 - 87 -// ]]# 88 -})($ntrg_tabCols, $ntrg_tabName); 87 +/* ]]# */ 88 +})($jsontool.serialize($ntrg_tabCols), $jsontool.serialize($ntrg_tabName));