Skip to content

Commit

Permalink
Genomics
Browse files Browse the repository at this point in the history
3 tabs working with StepM4
  • Loading branch information
Vijay Bhaskar committed Jan 9, 2014
1 parent bdb436a commit 1a51787
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
19 changes: 9 additions & 10 deletions Genomics/ieStudyForm_copy(1).js
Original file line number Diff line number Diff line change
Expand Up @@ -2396,8 +2396,7 @@ function submitstudyDetails() {
}


function allgenomics(gohead,txtM1Date,selM1Reason,selRNA,txtM2aDate,selM2Reason,selcRNAprotocol,M2bDate,M2cDate,M2dDate,selM2bReason,selM2cReason,selM2dReason) {

function allgenomics(gohead, txtM1Date, selM1Reason, selRNA, txtM2aDate, selM2Reason, selcRNAprotocol, M2bDate, M2cDate, M2dDate, selM2bReason, selM2cReason, selM2dReason) {

var strBatch = "";

Expand Down Expand Up @@ -2489,14 +2488,14 @@ function allgenomics(gohead,txtM1Date,selM1Reason,selRNA,txtM2aDate,selM2Reason,
}

//Step M2C

if (selcRNAprotocol != 0) {
strBatch += "<Field Name='cRNA_Protocol'>" + selcRNAprotocol + "</Field>";
} else {
alert('Please select cRNA Protocol.');
$("#selcRNAprotocol").focus();
gohead = false;
}
strBatch += "<Field Name='cRNA_Protocol'>" + selcRNAprotocol + "</Field>";
} else {
alert('Please select cRNA Protocol.');
$("#selcRNAprotocol").focus();
gohead = false;
}

if (M2dDate != "") {
strBatch += "<Field Name='M2d_act_Data_Posted_date'>" + M2dDate + "</Field>";
Expand All @@ -2517,8 +2516,8 @@ function allgenomics(gohead,txtM1Date,selM1Reason,selRNA,txtM2aDate,selM2Reason,
}

return strBatch;

}

//submit statistics
function submitStatistics() {
debugger;
Expand Down
7 changes: 6 additions & 1 deletion Genomics/studyform_copy(1).js
Original file line number Diff line number Diff line change
Expand Up @@ -2334,9 +2334,14 @@ function submitstudyDetails() {
strBatch += "<Field Name='IsSuperUser'>1</Field>";
break;

case STEPM4:
strBatch += "<Field Name='Comments_m2d'>" + CorrectStringAsSPData(txtCommentsM2d) + "</Field>";
strBatch += "<Field Name='Comments_M2a'>" + CorrectStringAsSPData(txtCommentsM2a) + "</Field>";
strBatch += "<Field Name='IsSuperUser'>1</Field>";
break;
}

if (step != STEPM2D && step != STEPM3A && step != STEPM3B && isSplGC == false) {
if (step != STEPM4 && step != STEPM2D && step != STEPM3A && step != STEPM3B && isSplGC == false) {
strBatch += "<Field Name='enableStage'>" + enableStage + "</Field>" +
"<Field Name='EnableWF'>" + eanableWF + "</Field>";
}
Expand Down

0 comments on commit 1a51787

Please sign in to comment.