(level)
| 49 | } |
| 50 | |
| 51 | function toggleLevel(level) |
| 52 | { |
| 53 | $('table.directory tr').each(function() { |
| 54 | var l = this.id.split('_').length-1; |
| 55 | var i = $('#img'+this.id.substring(3)); |
| 56 | var a = $('#arr'+this.id.substring(3)); |
| 57 | if (l<level+1) { |
| 58 | i.removeClass('iconfopen iconfclosed').addClass('iconfopen'); |
| 59 | a.html('▼'); |
| 60 | $(this).show(); |
| 61 | } else if (l==level+1) { |
| 62 | i.removeClass('iconfclosed iconfopen').addClass('iconfclosed'); |
| 63 | a.html('►'); |
| 64 | $(this).show(); |
| 65 | } else { |
| 66 | $(this).hide(); |
| 67 | } |
| 68 | }); |
| 69 | updateStripes(); |
| 70 | } |
| 71 | |
| 72 | function toggleFolder(id) |
| 73 | { |
nothing calls this directly
no test coverage detected