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