Subversion Repositories bacoAlunos

Rev

Rev 1755 | Rev 1758 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1755 Rev 1756
Line 93... Line 93...
93
    $(document).ready(
93
    $(document).ready(
94
            function(){
94
            function(){
95
 
95
 
96
 
96
 
97
                $('.repository-interface .collapse')
97
                $('.repository-interface .collapse')
98
                        .on('shown.bs.collapse', function() {
98
                        .on('shown.bs.collapse', function(e) {
-
 
99
                            if ($(this).is(e.target)) {
99
                            $(this)
100
                                $(this)
100
                                    .parent()
101
                                    .parent().eq(0)
101
                                    .find(".glyphicon-plus").eq(0)
102
                                    .find(".glyphicon-plus").eq(0)
102
                                    .removeClass("glyphicon-plus")
103
                                    .removeClass("glyphicon-plus")
103
                                    .addClass("glyphicon-minus");
104
                                    .addClass("glyphicon-minus");
-
 
105
                            }
104
                        })
106
                        })
105
                        .on('hidden.bs.collapse', function() {
107
                        .on('hidden.bs.collapse', function(e) {
-
 
108
                            if ($(this).is(e.target)) {
106
                            $(this)
109
                                $(this)
107
                                    .parent()
110
                                        .parent().eq(0)
108
                                    .find(".glyphicon-minus").eq(0)
111
                                        .find(".glyphicon-minus").eq(0)
109
                                    .removeClass("glyphicon-minus")
112
                                        .removeClass("glyphicon-minus")
110
                                    .addClass("glyphicon-plus");
113
                                        .addClass("glyphicon-plus");
-
 
114
                            }
111
                        });
115
                        });
112
 
116
 
113
 
117
 
114
 
118
 
115
                $("#documentFilterInput").unbind("click");
119
                $("#documentFilterInput").unbind("click");