File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed
coeus-impl/src/main/java/org/kuali/kra/irb
coeus-webapp/src/main/webapp Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public class ProtocolOnlineReviewDocument extends ProtocolOnlineReviewDocumentB
7575
7676 public ProtocolOnlineReviewDocument () {
7777 super ();
78- protocolOnlineReviewList = new ArrayList <ProtocolOnlineReview >();
78+ protocolOnlineReviewList = new ArrayList <>();
7979 ProtocolOnlineReview newProtocolReview = new ProtocolOnlineReview ();
8080 newProtocolReview .setProtocolOnlineReviewDocument (this );
8181 protocolOnlineReviewList .add (newProtocolReview );
@@ -149,10 +149,7 @@ public List buildListOfDeletionAwareLists() {
149149
150150 @ Override
151151 protected List <RolePersons > getAllRolePersons () {
152- KcAuthorizationService kraAuthService =
153- (KcAuthorizationService ) KcServiceLocator .getService (KcAuthorizationService .class );
154- //return kraAuthService.getAllRolePersons(getProtocolOnlineReview());
155- return new ArrayList <RolePersons >();
152+ return new ArrayList <>();
156153 }
157154
158155 public String getDocumentTypeCode () {
Original file line number Diff line number Diff line change @@ -49,11 +49,12 @@ public class ProtocolOnlineReviewServiceImpl extends ProtocolOnlineReviewService
4949 @ Override
5050 public boolean isProtocolInStateToBeReviewed (ProtocolBase protocol ) {
5151 boolean isReviewable = false ;
52- ProtocolSubmission submission = (ProtocolSubmission )( (Protocol ) protocol ).getProtocolSubmission ();
52+ ProtocolSubmission submission = ((Protocol ) protocol ).getProtocolSubmission ();
5353 if (submission != null ) {
5454 try {
5555 isReviewable = StringUtils .isNotEmpty (submission .getScheduleId ())
5656 || ProtocolReviewType .EXPEDITED_REVIEW_TYPE_CODE .equals (submission .getProtocolReviewTypeCode ())
57+ || ProtocolReviewType .EXEMPT_STUDIES_REVIEW_TYPE_CODE .equals (submission .getProtocolReviewTypeCode ())
5758 || (ProtocolReviewType .FYI_TYPE_CODE .equalsIgnoreCase (submission .getProtocolReviewTypeCode ()) &&
5859 ProtocolSubmissionType .NOTIFY_IRB .equalsIgnoreCase (submission .getProtocolSubmissionType ().getSubmissionTypeCode ()));
5960 isReviewable &= (StringUtils .equals (submission .getSubmissionStatusCode (), ProtocolSubmissionStatus .SUBMITTED_TO_COMMITTEE )
Original file line number Diff line number Diff line change 2222<c:set var =" acsAttributes" value =" ${ DataDictionary . ProtocolAssignCmtSchedBean . attributes} " />
2323<c:set var =" expeditedAttributes" value =" ${ DataDictionary . ExpeditedReviewCheckListItem . attributes} " />
2424<c:set var =" exemptAttributes" value =" ${ DataDictionary . ExemptStudiesCheckListItem . attributes} " />
25- <%-- <c:set var="reviewerAttributes" value="${DataDictionary.ProtocolReviewerBean.attributes}" /> --%>
2625<c:set var =" action" value =" modifySubmissionAction" />
2726
2827<kra:permission value =" ${ KualiForm . actionHelper. canModifyProtocolSubmission} " >
Original file line number Diff line number Diff line change @@ -1810,7 +1810,7 @@ function displayReviewers(protocolId) {
18101810 var protocolReviewTypeCode = dwr . util . getValue ( 'actionHelper.protocolSubmitAction.protocolReviewTypeCode' ) ;
18111811
18121812 // we suppress the reviewer display if a committee is not selected, or if a schedule is not selected in case of a non-expedited review type
1813- if ( ( ( scheduleId === "" ) && ( protocolReviewTypeCode != '2' ) ) || ( committeeId === "" ) ) {
1813+ if ( ( ( scheduleId === "" ) && ( protocolReviewTypeCode != '2' && protocolReviewTypeCode != '3' ) ) || ( committeeId === "" ) ) {
18141814 document . getElementById ( "reviewers" ) . style . display = 'none' ;
18151815 }
18161816 else {
You can’t perform that action at this time.
0 commit comments