Changes for page Helpers

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

From version 1.20
edited by Benjamin Fischer
on 2025/05/15 17:17
Change comment: There is no comment for this version
To version 1.19
edited by Benjamin Fischer
on 2025/05/15 17:02
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -135,21 +135,5 @@
135 135   row.doc_location = ol.outerHTML;
136 136   };
137 137  
138 - require(['jquery', 'bootstrap'], function($) {
139 - document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`);
140 -
141 - const ttApply = ({ memo: { tableId } }) => {
142 - if (tableid)
143 - $(`#${tableId} [data-toggle="popover"]`).popover({
144 - html: true,
145 - container: `#mainContentArea`,
146 - trigger: "hover",
147 - });
148 - };
149 -
150 - document.observe(`xwiki:livetable:displayComplete`, ttApply);
151 - for (const tab of document.querySelectorAll(".xwiki-livetable"))
152 - ttApply({ memo: { tableId: tab.id }});
153 - });
154 154  })());
155 155