- Timestamp:
- Apr 16, 2012, 12:36:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/consentform.jsp
r1538 r1601 132 132 var specimenInfo = response.specimenInfo; 133 133 134 135 if (caseInfo && caseInfo.consentDate)136 {137 frm.consentDate.value = caseInfo.consentDate;138 }139 frm.consentDate.focus();140 141 134 if (patientInfo) 142 135 { … … 158 151 numEnabled++; 159 152 } 153 if (c.name == caseName && c.consentDate) 154 { 155 frm.consentDate.value = c.consentDate; 156 } 160 157 html += '<input type="checkbox" name="case.'+c.id+'" id="case.'+c.id+'" checked ' + disabled +'>'; 161 158 html += '<label for="case.'+c.id+'">Case: ' + c.name + laterality + '</label><br>'; … … 176 173 { 177 174 numEnabled++; 175 } 176 if (c.name.indexOf(caseName) == 0 && c.consentDate) 177 { 178 frm.consentDate.value = c.consentDate; 178 179 } 179 180 html += '<input type="checkbox" name="blood.'+ c.id + '" id="blood.'+c.id+'" checked ' + disabled +'>'; … … 209 210 setInputStatus('consent', '"' + caseInfo.consent + '" has already been registered for this case. It is not possible to change with this wizard.', ''); 210 211 Main.show('gorestart'); 212 if (caseInfo.consentDate) 213 { 214 frm.consentDate.value = caseInfo.consentDate; 215 } 211 216 frm.consentDate.disabled = true; 212 217 } … … 232 237 } 233 238 239 if (!frm.consentDate.disabled) frm.consentDate.focus(); 234 240 } 235 241
Note: See TracChangeset
for help on using the changeset viewer.