updated list view templates to ensure correct reference of element ID

This commit is contained in:
Tim Worrall 2014-06-13 16:23:46 -04:00
parent 38658bdcd9
commit 94f7fea0c2
2 changed files with 4 additions and 4 deletions

View file

@ -17,8 +17,8 @@
<span class="hideThis">&nbsp;</span>
<script type="text/javascript" >
$('span.hideThis').parent().parent().addClass("hideThis");
if ( $('h3#RO_0000053-ResearcherRole').attr('class').length == 0 ) {
$('h3#RO_0000053-ResearcherRole').addClass('hiddenGrants');
if ( $('h3#researchOverview').attr('class').length == 0 ) {
$('h3#researchOverview').addClass('hiddenGrants');
}
$('span.hideThis').parent().remove();
</script>

View file

@ -17,8 +17,8 @@
<span class="hideThis">&nbsp;</span>
<script type="text/javascript" >
$('span.hideThis').parent().parent().addClass("hideThis");
if ( $('h3#organizationForPosition').attr('class').length == 0 ) {
$('h3#organizationForPosition').addClass('hiddenPeople');
if ( $('h3#relatedBy-Position').attr('class').length == 0 ) {
$('h3#relatedBy-Position').addClass('hiddenPeople');
}
$('span.hideThis').parent().remove();
</script>