participantPortal.js 482 B

1234567891011121314151617181920212223242526
  1. var participantPortal={};
  2. participantPortal.print=function(msg){
  3. console.log(msg);
  4. }
  5. participantPortal.init=
  6. function(cb=null){
  7. let that=this;
  8. let action=function(){that.scriptsLoaded(cb);};
  9. LABKEY.Utils.requiresScript(["crfTecant/runQuery.js"],action);
  10. }
  11. participantPortal.scriptsLoaded=
  12. function(cb=null){
  13. if (cb) cb();
  14. }
  15. participantPortal.generateFormArray=
  16. function(){
  17. let that=this;
  18. let action=function(){that.fcontinue0();};
  19. this.init(action);
  20. }