Changes for page AnnotationConfigSheet

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

From 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]
To 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]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.coelho
1 +xwiki:XWiki.sagunski
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,7 +1,9 @@
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 +
3 3   // Reminder: 'tree' is a jQuery plugin and returns the jQuery instance itself when required.
4 - require(['xwiki-tree', 'xwiki-meta', 'xwiki-events-bridge'], function($, xm) {
6 + require(['tree', 'xwiki-meta', 'xwiki-events-bridge'], function($, xm) {
5 5   /**
6 6   * Initialization method.
7 7   */
... ... @@ -115,3 +115,5 @@
115 115  
116 116   (XWiki.isInitialized ? initialize() : document.on('xwiki:dom:loaded', initialize));
117 117   });
120 +
121 +});