Changeset 6995
- Timestamp:
- Nov 3, 2015, 9:57:55 AM (7 years ago)
- Location:
- trunk/www
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/biomaterials/extracts/extracts.js
r6993 r6995 280 280 var frm = document.forms['extract']; 281 281 var subtypeId = ItemSubtype.getSubtypeId('subtype_id'); 282 var recentInfo = ItemSubtype.getRelatedProjectDefaultAndRecentItems('EXTRACT', subtypeId, ['PROTOCOL', ' BIOPLATE', 'TAG', 'SAMPLE', 'EXTRACT']);282 var recentInfo = ItemSubtype.getRelatedProjectDefaultAndRecentItems('EXTRACT', subtypeId, ['PROTOCOL', 'KIT', 'BIOPLATE', 'TAG', 'SAMPLE', 'EXTRACT']); 283 283 ItemSubtype.updateSelectionList(frm.protocol_id, recentInfo.PROTOCOL['recent'], recentInfo.PROTOCOL['default']); 284 ItemSubtype.updateSelectionList(frm.kit_id, recentInfo.KIT['recent']); 284 285 ItemSubtype.updateSelectionList(frm.tag_id, recentInfo.TAG['recent']); 285 286 ItemSubtype.updateSelectionList(frm.bioplate_id, recentInfo.BIOPLATE['recent']); -
trunk/www/biomaterials/samples/samples.js
r6993 r6995 375 375 var frm = document.forms['sample']; 376 376 var subtypeId = ItemSubtype.getSubtypeId('subtype_id'); 377 var recentInfo = ItemSubtype.getRelatedProjectDefaultAndRecentItems('SAMPLE', subtypeId, ['PROTOCOL', ' BIOPLATE', 'BIOSOURCE', 'SAMPLE']);377 var recentInfo = ItemSubtype.getRelatedProjectDefaultAndRecentItems('SAMPLE', subtypeId, ['PROTOCOL', 'KIT', 'BIOPLATE', 'BIOSOURCE', 'SAMPLE']); 378 378 ItemSubtype.updateSelectionList(frm.protocol_id, recentInfo.PROTOCOL['recent'], recentInfo.PROTOCOL['default']); 379 ItemSubtype.updateSelectionList(frm.kit_id, recentInfo.KIT['recent']); 379 380 ItemSubtype.updateSelectionList(frm.bioplate_id, recentInfo.BIOPLATE['recent']); 380 381 } -
trunk/www/views/physicalbioassays/bioassays.js
r6994 r6995 273 273 var frm = document.forms['bioassay']; 274 274 var subtypeId = ItemSubtype.getSubtypeId('subtype_id'); 275 var recentInfo = ItemSubtype.getRelatedProjectDefaultAndRecentItems('PHYSICALBIOASSAY', subtypeId, ['PROTOCOL', 'HARDWARE' ]);275 var recentInfo = ItemSubtype.getRelatedProjectDefaultAndRecentItems('PHYSICALBIOASSAY', subtypeId, ['PROTOCOL', 'HARDWARE', 'KIT']); 276 276 277 277 ItemSubtype.updateSelectionList(frm.protocol_id, recentInfo.PROTOCOL['recent'], recentInfo.PROTOCOL['default']); 278 278 ItemSubtype.updateSelectionList(frm.hardware_id, recentInfo.HARDWARE['recent'], recentInfo.HARDWARE['default']); 279 ItemSubtype.updateSelectionList(frm.kit_id, recentInfo.KIT['recent']); 279 280 } 280 281
Note: See TracChangeset
for help on using the changeset viewer.