Kaynağa Gözat

Adjusting idLabel parsing to work for studyId less entries

Andrej Studen 1 yıl önce
ebeveyn
işleme
2a647999db
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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=