From 3c76cdcc937e8871e090808c31353187ffa53eb2 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Wed, 14 Jul 2010 17:42:01 +0000 Subject: [PATCH] Changing id fullViewOnly to class, since we may need more than one per form --- productMods/edit/forms/addClinicalRoleToPerson.jsp | 4 +--- productMods/edit/forms/addGrantRoleToPerson.jsp | 2 +- productMods/edit/forms/addMemberRoleToPerson.jsp | 4 +--- productMods/edit/forms/addPresentationRoleToPerson.jsp | 4 +--- productMods/edit/forms/addPublicationToPerson.jsp | 2 +- productMods/edit/forms/addResearchActivityRoleToPerson.jsp | 4 +--- productMods/edit/forms/addRoleToPersonTwoStage.jsp | 4 ++-- productMods/edit/forms/addTeachingActivityRoleToPerson.jsp | 4 +--- .../edit/forms/css/customFormWithAdvanceTypeSelection.css | 2 +- .../edit/forms/js/customFormWithAdvanceTypeSelection.js | 6 +++--- 10 files changed, 13 insertions(+), 23 deletions(-) diff --git a/productMods/edit/forms/addClinicalRoleToPerson.jsp b/productMods/edit/forms/addClinicalRoleToPerson.jsp index a16d104b..c73906c2 100644 --- a/productMods/edit/forms/addClinicalRoleToPerson.jsp +++ b/productMods/edit/forms/addClinicalRoleToPerson.jsp @@ -1,12 +1,10 @@ <%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> -<%-- sparqlForAcFilter must be all one line for JavaScript. --%> - - + \ No newline at end of file diff --git a/productMods/edit/forms/addGrantRoleToPerson.jsp b/productMods/edit/forms/addGrantRoleToPerson.jsp index dbf7a06d..67732b59 100644 --- a/productMods/edit/forms/addGrantRoleToPerson.jsp +++ b/productMods/edit/forms/addGrantRoleToPerson.jsp @@ -205,7 +205,7 @@ if ( ((String)request.getAttribute("predicateUri")).endsWith("hasPrincipalInvest <%-- Must be all one line for JavaScript. --%> -PREFIX core: <${vivoCore}> SELECT ?grantUri WHERE {<${subjectUri}> core:hasPrincipalInvestigatorRole ?grantRole .?grantRole core:relatedRole ?grantUri .} +PREFIX core: <${vivoCore}> SELECT ?grantUri WHERE {<${subjectUri}> core:hasPrincipalInvestigatorRole ?grantRole . ?grantRole core:roleIn ?grantUri .}