Revert "use a dispatcher to access static image files"
[dokuwiki.git] / lib / scripts / index.js
blob4b67a0b12d7736d17187d4612fe2650fd19a1bfb
1 var dw_index = jQuery('#index__tree').dw_tree({deferInit: true,
2     load_data: function  (show_sublist, $clicky) {
3         jQuery.post(
4             DOKU_BASE + 'lib/exe/ajax.php',
5             $clicky[0].search.substr(1) + '&call=index',
6             show_sublist, 'html'
7         );
8     }
9 });
10 jQuery(function () {
11     var $tree = jQuery('#index__tree');
13     dw_index.$obj = $tree;
15     dw_index.init();
16 });