VIVO-798: fix hidden research grants issue

This commit is contained in:
Tim Worrall 2014-06-17 14:33:38 -04:00
parent e811b4bd9c
commit 5927677db8
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
?subject ?property ?value
FILTER isLiteral(?value)
} ORDER BY ?object
} ORDER BY ?value
</query-select>
<query-construct>

View file

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