~replaceafill/ubuntu/trusty/schooltool/2.8_custom-css

« back to all changes in this revision

Viewing changes to src/schooltool/skin/flourish/resources/jstree.js

  • Committer: Gediminas Paulauskas
  • Date: 2014-04-18 16:25:33 UTC
  • mfrom: (1.1.33)
  • Revision ID: menesis@pov.lt-20140418162533-noklnc6b89w2epee
Tags: 1:2.7.0-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
                creatable: false,
12
12
                draggable: false
13
13
            }
14
 
        }          
 
14
        },
 
15
        callback: {
 
16
            onload: function(tree) {
 
17
                tree.open_all();
 
18
                tree.close_branch('.tree .inactive');
 
19
            }
 
20
        }
15
21
    });
16
22
    $('a.leaf_url').click(function() {
17
23
        document.location.href = $(this).attr("href");
18
24
    });
19
 
    $('.tree_list a[class!=leaf_url]').trigger('dblclick');
20
 
    $('.tree_list > ul > li > a').trigger('dblclick');
21
 
    $('.tree_list > ul > li:first-child > a').trigger('dblclick');
22
 
    $('.info-block li ul').css('border', '0');
23
25
});