Z verze
změnil(a) David Brazda
k 10.01.2021 14:44
Na verzi < 44.1 >
změnil(a) David Brazda
k 10.01.2021 14:25
< >
Popis verze: Install extension [org.xwiki.platform:xwiki-platform-tree-macro/12.9]

Přehled

Rozpis

XWiki.JavaScriptExtension[0]
Kód
... ... @@ -2,8 +2,7 @@
2 2   $(document).ready(function(){
3 3   $("a").click(function(ev){
4 4   ev.preventDefault();
5 - $("#contentcolumn").load(this.href + " #contentcolumn" );
6 - alert("clicked AAA:"+this.href);
5 + alert("clicked:"+this.href);
7 7   });//click
8 8   }),//ready
9 9   require(['tree'], function($) {
... ... @@ -15,8 +15,9 @@
15 15   e.stopPropagation();
16 16   e.stopImmediatePropagation();
17 17   $("#contentcolumn").load(this.href + " #contentcolumn" );
18 - return false;
19 19   alert("activated:"+this.href);
18 + return false;
19 +
20 20   });//onclick
21 21   });//ready
22 22   });//require