Změny dokumentu Tree Macro
Naposledy upravil David Brazda 11.01.2021 09:23
Popis verze:
Install extension [org.xwiki.platform:xwiki-platform-tree-macro/12.9]
Přehled
-
Objects (15 změněno, 0 přidáno, 0 odstraněno)
Rozpis
- XWiki.JavaScriptExtension[0]
-
- Kód
-
... ... @@ -1,6 +1,6 @@ 1 1 require(['jquery', "$!services.webjars.url('org.xwiki.platform:xwiki-platform-tree-webjar', 'require-config.min.js', {'evaluate': true})"], function($) { 2 2 require(['tree'], function($) { 3 - $('.xtree').on("a .jstree-anchor", function (e, data) {3 + $('.xtree').on("a", function (e, data) { 4 4 e.stopPropagation(); 5 5 e.preventDefault(); 6 6 $("#contentcolumn").load(this.href + " #contentcolumn" );
- XWiki.WikiMacroParameterClass[0]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/The reference to the resource that describes the tree structure and its context menu and which is called to perform the actions on the tree nodes. This resource is used to load the tree dynamically (on demand) when a tree node is opened and to ask for the context menu when the user right-clicks on a tree node that has it. So the resource is not static. For static trees you should use the macro content instead. The reference can be a document reference or an URL/path.
- XWiki.WikiMacroParameterClass[1]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/The root node id. This is useful if you want to display only the descendants of a given node (which is the specified root). The tree displays the children of the root node on the first level, so the root node is not actually displayed. The entire tree is displayed if the root node is not specified.
- XWiki.WikiMacroParameterClass[2]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Specifies if the user should be able to drag & drop tree nodes.
- XWiki.WikiMacroParameterClass[3]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Whether to show the context menu when the user right-clicks a tree node.
- XWiki.WikiMacroParameterClass[4]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Additional CSS classes to add to the top level HTML element of the tree.
- XWiki.WikiMacroParameterClass[5]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Whether to show the tree node icons or not. You may want to hide the icons if all the tree nodes are of the same type or if you want to win some horizontal space.
- XWiki.WikiMacroParameterClass[6]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Whether to show the edges that connect the sibling tree nodes between themselves and with their parent.
- XWiki.WikiMacroParameterClass[7]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Specifies whether the node labels should look and behave as links (anchors).
- XWiki.WikiMacroParameterClass[8]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Whether to display a checkbox in front of each tree node to allow the user to select multiple tree nodes.
- XWiki.WikiMacroParameterClass[9]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/The id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also.
- XWiki.WikiMacroParameterClass[10]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Show a text input that can be used to find tree nodes. The input is displayed above the tree and offers suggestions as you type based on the content of the tree. When a suggestion is selected the tree is expanded up to the corresponding node.
- XWiki.WikiMacroParameterClass[11]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/Whether to show the root node or not. The root node is not shown by default because it is usually implied from the context where the tree is displayed (e.g. a label before the tree). There are some cases though when you may want to display the root node: to be able to create a new node under the root.
- XWiki.WikiMacroParameterClass[12]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/The maximum number of child nodes to display when expanding a parent node for the first time. The rest of the child nodes are accessible through a "more ..." link. This parameter is basically used to paginate the child nodes and thus helps the tree scale when the number of child nodes is large. The tree passes this parameter to the tree source so it works only with dynamic trees whose source implements child count limit.
- XWiki.WikiMacroParameterClass[13]
-
- Parameter description
-
... ... @@ -32,7 +32,7 @@ 32 32 /~*~*~/~/~*~*/ 33 33 /~*~*~/~/~*~*/ 34 34 /~*~*~/~/~*~*/ 35 -\\~/~/ 35 +\\~/~/ 36 36 require.config({"paths":{"jquery":"/xwiki/webjars/wiki%3Axwiki/jquery/2.2.4/jquery.min.js?r=1","bootstrap":"/xwiki/webjars/wiki%3Axwiki/bootstrap/3.4.1/js/bootstrap.min.js?r=1","xwiki-meta":"/xwiki/resources/js/xwiki/meta.min.js?cache-version=1603711510000","xwiki-events-bridge":"/xwiki/resources/js/xwiki/eventsBridge.min.js?cache-version=1603711510000","xwiki-locale-picker":"/xwiki/bin/skin/skins/flamingo/localePicker.min.js?cache-version=1603711510000","iscroll":"/xwiki/webjars/wiki%3Axwiki/iscroll/5.1.3/build/iscroll-lite.js?r=1","drawer":"/xwiki/webjars/wiki%3Axwiki/drawer/2.4.0/js/jquery.drawer.min.js?r=1","deferred":"/xwiki/resources/uicomponents/require/deferred.min.js?cache-version=1603711510000","xwiki-ckeditor":"/xwiki/bin/jsx/CKEditor/EditSheet?v=1.51&xwiki-version=12.9&fast-diff-version=1.2.0&bs3typeahead-version=4.0.2","xwiki-ckeditor-inline":"/xwiki/bin/jsx/CKEditor/InlineEditor?v=1.51&xwiki-version=12.9"},"shim":{"bootstrap":["jquery"],"drawer":["jquery","iscroll"]},"bundles":{},"config":{},"map":{"*":{"jquery":"jQueryNoConflict"},"jQueryNoConflict":{"jquery":"jquery"}}}); 37 37 define('jQueryNoConflict', ['jquery'], function ($) { 38 38 return $.noConflict(); ... ... @@ -47,8 +47,8 @@ 47 47 delete event.target[method]; 48 48 }, 0); 49 49 }; 50 - pluginsToDisable.each(function (plugin) { 51 - $(window).on(method + '.bs.' + plugin, handler); 50 + pluginsToDisable.each(function (plugin) { 51 + $(window).on(method + '.bs.' + plugin, handler); 52 52 }); 53 53 }, 54 54 pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'tab', 'popover']; ... ... @@ -86,5 +86,5 @@ 86 86 window.docediturl = "/xwiki/bin/edit/Macros/Tree"; 87 87 window.docsaveurl = "/xwiki/bin/save/Macros/Tree"; 88 88 window.docgeturl = "/xwiki/bin/get/Macros/Tree"; 89 -~/~/ 89 +~/~/ 90 90 /~*~*/The list of nodes to exclude from the tree. The nodes are specified by their id and separated by comma. This has no effect on static trees.