(level)
| 26 | } |
| 27 | |
| 28 | function toggleLevel(level) |
| 29 | { |
| 30 | $('table.directory tr').each(function() { |
| 31 | var l = this.id.split('_').length-1; |
| 32 | var i = $('#img'+this.id.substring(3)); |
| 33 | var a = $('#arr'+this.id.substring(3)); |
| 34 | if (l<level+1) { |
| 35 | i.removeClass('iconfopen iconfclosed').addClass('iconfopen'); |
| 36 | a.html('▼'); |
| 37 | $(this).show(); |
| 38 | } else if (l==level+1) { |
| 39 | i.removeClass('iconfclosed iconfopen').addClass('iconfclosed'); |
| 40 | a.html('►'); |
| 41 | $(this).show(); |
| 42 | } else { |
| 43 | $(this).hide(); |
| 44 | } |
| 45 | }); |
| 46 | updateStripes(); |
| 47 | } |
| 48 | |
| 49 | function toggleFolder(id) |
| 50 | { |
nothing calls this directly
no test coverage detected