Changeset 1776
- Timestamp:
- Dec 11, 2012, 3:50:28 PM (11 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/histology_block.jsp
r1726 r1776 213 213 html += '<th>Paraffin block</th>'; 214 214 html += '<th>Storage box</th>'; 215 html += '<th>Comment</th>'; 215 216 html += '</tr>'; 216 217 html += '</thead>'; … … 223 224 224 225 html += '<tr>'; 225 html += '<td style="width: 1 50px;">' + block.name + '</td>';226 html += '<td style="width: 120px;">' + block.name + '</td>'; 226 227 html += '<td><input type="text" name="blockBox'+blockNo+'" value="<%=lastBlockBox%>" onblur="blockBoxOnChange('+blockNo+')"'; 227 228 html += ' onkeypress="' + nextStep + '" size="10" ></td>'; 229 html += '<td><input type="text" name="blockComment'+blockNo+'" value="" size="35"></td>'; 228 230 html += '</tr>'; 229 231 } … … 278 280 var block = workList.blocks[blockNo]; 279 281 block.storageBox = frm['blockBox'+blockNo].value; 282 block.comment = frm['blockComment'+blockNo].value; 280 283 frm['blockBox'+blockNo].disabled = true; 284 frm['blockComment'+blockNo].disabled = true; 281 285 } 282 286 -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/HistologyServlet.java
r1774 r1776 451 451 paraffinBlock.setEventDate(moveDate); 452 452 paraffinBlock.setTray(storageBox); 453 paraffinBlock.setDescription(Values.getStringOrNull((String)jsonBlock.get("comment"))); 453 454 454 455 // Attach the new paraffin block to the PLACE-ON-PLATE event
Note: See TracChangeset
for help on using the changeset viewer.