|
@@ -147,7 +147,6 @@ function(){
|
|
|
this.addToKeyMap(key,label);
|
|
|
if (regMap[q]['site']!=site) continue;
|
|
|
updatedMap[key]=label;
|
|
|
- //idMap[q]+':Local '+idLocalMap[q];
|
|
|
}
|
|
|
updatedMap[1000]='NONE';
|
|
|
updatedMap[1001]='Add new participant';
|
|
@@ -170,7 +169,8 @@ function(){
|
|
|
alert('registrationFormId not set in settings!');
|
|
|
return;
|
|
|
}
|
|
|
- formPortal.createForm(formId,roleAndSite);
|
|
|
+ let cb=function(_data,_crfEntry){formPortal.openForm(_crfEntry,roleAndSite);};
|
|
|
+ formPortal.createForm(formId,roleAndSite,cb);
|
|
|
return;
|
|
|
}
|
|
|
|