Ignore:
Timestamp:
Dec 17, 2012, 3:08:17 PM (10 years ago)
Author:
Nicklas Nordborg
Message:

References #424, #425 and #436. Added a 'comments' field on the mRNA plate design wizard. The comment is included in the lab protocol and in the final mRNA registration wizard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/branches/ticket-422/resources/libprep/mrna_registration.jsp

    r1762 r1792  
    4848      var bioplate = bioplates[i];
    4949      var option = new Option(bioplate.name, bioplate.id);
     50      option.comments = bioplate.comments;
    5051      plates.options[plates.length] = option;
    5152    }
    5253    bioplateIsValid = true;
    5354    setInputStatus('bioplate', '', 'valid');
     55    bioPlateOnChange();
    5456  }
    5557  else
     
    130132}
    131133
     134function bioPlateOnChange()
     135{
     136  var frm = document.forms['reggie'];
     137  frm.comments.value = frm.bioplate[frm.bioplate.selectedIndex].comments;
     138}
    132139
    133140function browseOnClick(extension)
     
    282289  <p:path><p:pathelement
    283290    title="Reggie" href="<%="../index.jsp?ID="+ID%>"
    284     /><p:pathelement title="Lab tracking protocol for mRNA and cDNA preparation"
     291    /><p:pathelement title="mRNA registration and quality control results"
    285292    /></p:path>
    286293
     
    312319        <td class="prompt">mRNA bioplate</td>
    313320        <td class="input"><select class="required" style="width:90%"
    314             name="bioplate" id="bioplate"></select>
     321            name="bioplate" id="bioplate" onchange="bioPlateOnChange()"></select>
    315322        </td>
    316323        <td class="status" id="bioplate.status"></td>
Note: See TracChangeset for help on using the changeset viewer.