Changes for page AnnotationConfigSheet

Last modified by Thomas Coelho (local) on 2023/08/09 10:59

From version 1.1
edited by Laura Sagunski
on 2022/09/27 12:39
Change comment: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/14.6]
To version 2.1
edited by Thomas Coelho (local)
on 2023/08/09 10:59
Change comment: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/15.5]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.sagunski
1 +xwiki:XWiki.coelho
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,9 +1,7 @@
1 1  // FIXME: This code duplicates XWiki.TemplateProviderSheet's JSX except for the tree and data element locators.
2 2  
3 -require(["$!services.webjars.url('org.xwiki.platform:xwiki-platform-tree-webjar', 'require-config.min.js', {'evaluate': true})"], function() {
4 -
5 5   // Reminder: 'tree' is a jQuery plugin and returns the jQuery instance itself when required.
6 - require(['tree', 'xwiki-meta', 'xwiki-events-bridge'], function($, xm) {
4 + require(['xwiki-tree', 'xwiki-meta', 'xwiki-events-bridge'], function($, xm) {
7 7   /**
8 8   * Initialization method.
9 9   */
... ... @@ -117,5 +117,3 @@
117 117  
118 118   (XWiki.isInitialized ? initialize() : document.on('xwiki:dom:loaded', initialize));
119 119   });
120 -
121 -});