row_triggered = true;
$('ellipse').attr( {stroke:'black', fill:'#fff'} );
$(this).parent().nextAll('.clickable').children('span').click();
- $('tr.active_variant_row').find('span').removeClass( 'active_variant_cell' );
+ $('tr.active_variant_row').find('td').removeClass( 'active_variant_cell' );
row_triggered = false;
});
})
<tr [% rowclass %]>
<th><span class="rowid">[% row.id %]</span></th>
[% FOREACH reading IN row.readings -%]
- <td class="clickable"><span onclick="$('span.active_variant_cell').removeClass('active_variant_cell');$(this).addClass('active_variant_cell');$('tr.active_variant_row').removeClass('active_variant_row');$(this).parents('tr').addClass('active_variant_row');color_nodes($(this).parent().index(), [% reading.group %], [% reading.missing %]);">[% reading.text %]</span></td>
+ <td class="clickable"><span onclick="$('td.active_variant_cell').removeClass('active_variant_cell');$(this).parent().addClass('active_variant_cell');$('tr.active_variant_row').removeClass('active_variant_row');$(this).parents('tr').addClass('active_variant_row');color_nodes($(this).parent().index(), [% reading.group %], [% reading.missing %]);">[% reading.text %]</span></td>
[% END -%]
[% FILTER repeat( row.empty ) -%]
<td/>