summaryrefslogtreecommitdiff
path: root/lib/scripts/index.js
blob: 4b67a0b12d7736d17187d4612fe2650fd19a1bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var dw_index = jQuery('#index__tree').dw_tree({deferInit: true,
    load_data: function  (show_sublist, $clicky) {
        jQuery.post(
            DOKU_BASE + 'lib/exe/ajax.php',
            $clicky[0].search.substr(1) + '&call=index',
            show_sublist, 'html'
        );
    }
});
jQuery(function () {
    var $tree = jQuery('#index__tree');

    dw_index.$obj = $tree;

    dw_index.init();
});