aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/bootstrap/course_wizard.js
blob: ef85e96661fcee47f9c3d1348875cc109d2c8d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
STUDIP.domReady(function() {
    if ($('.sem-tree-assigned-root > ul > li').length == 0) {
        $('.sem-tree-assigned-root').addClass('hidden-js');
    }
});

STUDIP.ready(function() {
    $('.course-wizard-step-0 *:input:not(input[type=submit])').each(function (index) {
        $(this).attr(
            'tabindex',
            $(this).closest('section,footer').css('order')
        );
    });
});