ソースを参照

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=