Ignore:
Timestamp:
May 8, 2013, 11:10:06 AM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #473: Register library processing results

Swithced order of file selection so that the Qubit file is selected first. This makes it possible to validate that file at the same time the Caliper Well Table file is validated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/lib_registration.jsp

    r1963 r1968  
    258258  {
    259259    qubitCsvFileOnChange();
    260     frm.libProtocol.focus();
    261260  }
    262261  else
     
    310309  Main.addClass(document.body, 'please-wait');
    311310  setInputStatus('welltable', 'Checking...', 'checking');
    312   var url = '../LibPrep.servlet?ID=<%=ID%>&cmd=PreValidateCaliperWellTable&csv='+csvId+'&bioplate='+frm.bioplate.value;
     311  var qubitCsv = frm['qubitcsv.id'].value;
     312  var url = '../LibPrep.servlet?ID=<%=ID%>&cmd=PreValidateCaliperWellTable&csv='+csvId+'&bioplate='+frm.bioplate.value+'&qubit='+qubitCsv;
    313313 
    314314  var request = Ajax.getXmlHttpRequest();
     
    633633        <td class="input">
    634634          <input type="text" class="required" name="libDate" value="" size="12" maxlength="10"
    635             onblur="libDateOnChange()" onkeypress="focusOnEnter(event, 'welltable.path')">
     635            onblur="libDateOnChange()" onkeypress="focusOnEnter(event, 'qubitcsv.path')">
    636636        </td>
    637637        <td class="status" id="libDate.status"></td>
     
    641641      </tr>
    642642      <tbody id="filesSection">
     643      <tr>
     644        <td class="prompt">Qubit files</td>
     645        <td class="input"></td>
     646        <td class="status"></td>
     647        <td class="help"></td>
     648      </tr>
     649      <tr valign="top">
     650        <td class="subprompt">Conc. CSV</td>
     651        <td class="input">
     652          <input type="hidden" name="qubitcsv.id" value="">
     653          <table>
     654          <tr>
     655          <td><input class="text required" type="text"
     656            name="qubitcsv.path" value=""
     657            size="50" onkeypress="doOnEnter(event, function(){document.getElementById('btnQubitCsv').click()})"
     658            onblur="qubitCsvFileOnChange()"
     659            ></td>
     660          <td style="padding-left: 4px;"><base:button
     661              title="Browse&hellip;"
     662              onclick="browseOnClick('qubitcsv', 'csv')"
     663              id="btnQubitCsv"
     664              />
     665          </td>
     666          </tr>
     667          </table>
     668        </td>
     669        <td class="status" id="qubitcsv.status"></td>
     670        <td class="help"><span id="qubitcsv.message" class="message" style="display: none;"></span>
     671          Select the <b>Qubit CSV</b> file that contains the table with concentration
     672          measurements.
     673        </td>
     674      </tr>
    643675      <tr>
    644676        <td class="prompt">Caliper files</td>
     
    722754        </td>
    723755      </tr>
    724       <tr>
    725         <td class="prompt">Qubit files</td>
    726         <td class="input"></td>
    727         <td class="status"></td>
    728         <td class="help"></td>
    729       </tr>
    730       <tr valign="top">
    731         <td class="subprompt">Conc. CSV</td>
    732         <td class="input">
    733           <input type="hidden" name="qubitcsv.id" value="">
    734           <table>
    735           <tr>
    736           <td><input class="text required" type="text"
    737             name="qubitcsv.path" value=""
    738             size="50" onkeypress="doOnEnter(event, function(){document.getElementById('btnQubitCsv').click()})"
    739             onblur="qubitCsvFileOnChange()"
    740             ></td>
    741           <td style="padding-left: 4px;"><base:button
    742               title="Browse&hellip;"
    743               onclick="browseOnClick('qubitcsv', 'csv')"
    744               id="btnQubitCsv"
    745               />
    746           </td>
    747           </tr>
    748           </table>
    749         </td>
    750         <td class="status" id="qubitcsv.status"></td>
    751         <td class="help"><span id="qubitcsv.message" class="message" style="display: none;"></span>
    752           Select the <b>Qubit CSV</b> file that contains the table with concentration
    753           measurements.
    754         </td>
    755       </tr>
    756756      </tbody>
    757757      <tr valign="top">
Note: See TracChangeset for help on using the changeset viewer.