소스 검색

Adjusting idLabel parsing to work for studyId less entries

Andrej Studen 1 년 전
부모
커밋
2a647999db
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      web/crf/crfSetup.js

+ 2 - 1
web/crf/crfSetup.js

@@ -152,7 +152,8 @@ function(entry){
 
 crfSetup.getStudyId=
 function(label){
-   return label.replace(/ \([^\)]*\)/,"");
+   this.print('getStudyId: label ['+label+']');
+   return label.replace(/ ?\([^\)]*\)/,"");
 }
 
 crfSetup.getLocalId=