updated list view templates to ensure correct reference of element ID
This commit is contained in:
parent
38658bdcd9
commit
94f7fea0c2
2 changed files with 4 additions and 4 deletions
|
@ -17,8 +17,8 @@
|
|||
<span class="hideThis"> </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>
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<span class="hideThis"> </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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue