(id)
| 82 | |
| 83 | |
| 84 | function toggleInherit(id) |
| 85 | { |
| 86 | var rows = $('tr.inherit.'+id); |
| 87 | var img = $('tr.inherit_header.'+id+' img'); |
| 88 | var src = $(img).attr('src'); |
| 89 | if (rows.filter(':first').is(':visible')===true) { |
| 90 | rows.css('display','none'); |
| 91 | $(img).attr('src',src.substring(0,src.length-8)+'closed.png'); |
| 92 | } else { |
| 93 | rows.css('display','table-row'); // using show() causes jump in firefox |
| 94 | $(img).attr('src',src.substring(0,src.length-10)+'open.png'); |
| 95 | } |
| 96 | } |
| 97 |
nothing calls this directly
no outgoing calls
no test coverage detected