NIHVIVO-if all grants or pubs are hidden, the manage link should still be displayed
This commit is contained in:
parent
a59d3c872d
commit
c3d67a7872
3 changed files with 21 additions and 27 deletions
|
@ -98,15 +98,5 @@ $(document).ready(function(){
|
|||
return false;
|
||||
});
|
||||
|
||||
// if there are no selected pub, hide the manage link; same for grants
|
||||
if ( $('ul#authorInAuthorshipList').children('li').length < 1 ) {
|
||||
$('a#managePropLink').hide();
|
||||
}
|
||||
if ( $('ul#hasResearcherRoleList').children('li').length < 1 &&
|
||||
$('ul#hasPrincipalInvestigatorRoleList').children('li').length < 1 &&
|
||||
$('ul#hasCo-PrincipalInvestigatorRoleList').children('li').length < 1 &&
|
||||
$('ul#hasInvestigatorRoleList').children('li').length < 1 ) {
|
||||
$('a#manageGrantLink').hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue