Changeset 5137


Ignore:
Timestamp:
Oct 15, 2009, 9:42:04 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

References #1383: Make it possible to select more than one annotation in experiment explorer

Fixed a problem were the wrong annotation type was selected if the ID > 9.
Fixed non-working onclick handler for the "arrow-down" icon in the selection list.

Location:
trunk/www/views/experiments/explorer/view
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/experiments/explorer/view/index.jsp

    r5111 r5137  
    8585  else if ("SetAnnotationType".equals(cmd))
    8686  {
    87     Integer[] annotationTypes = Values.getInt(request.getParameter("annotationtype_id").split("|"));
     87    Integer[] annotationTypes = Values.getInt(request.getParameter("annotationtype_id").split("\\|"));
    8888    Set<Integer> tmp = explorer.getAnnotationTypeIds();
    8989    tmp.clear();
  • trunk/www/views/experiments/explorer/view/view.jsp

    r5114 r5137  
    439439      <input type="hidden" name="bioassayset_id" value="<%=bioAssaySetId%>">
    440440      <input type="hidden" name="cmd" value="SetAnnotationType">
    441 
    442         <table><tr><td>
     441        <table border="0" cellspacing="0" cellpadding="0"><tr><td>
    443442        <div class="multiselect">
    444443          <input type="text" class="text" size="40" name="display:annotationTypes"
    445             title="Click to select experimental factor"><img class="smartimage" src="../../../../images/pull_down.gif" onclick="MultiOptions.activateAndDisplay('explorer','display:annotationTypes')"></div>
     444            title="Click to select experimental factor"><img
     445            class="smartimage" src="../../../../images/pull_down.gif"
     446            onclick="MultiOptions.activateAndDisplay('annotationSummary','display:annotationTypes')"></div>
    446447          <input type="hidden" name="annotationtype_id" value="">
    447448          </td></tr></table>
Note: See TracChangeset for help on using the changeset viewer.