Changeset 2142


Ignore:
Timestamp:
Nov 19, 2013, 9:11:03 AM (7 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #535: The Flagged RNA dialog doesn't round numeric values

File:
1 edited

Legend:

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

    r1951 r2142  
    4646      document.getElementById('location.'+i).innerHTML = well.bioPlate.name +' ['+WELL_ALPHA[well.row]+(well.column+1)+']';
    4747    }
    48     document.getElementById('remainingQuantity.'+i).innerHTML = rna.remainingQuantity;
    49     document.getElementById('qualityScore.'+i).innerHTML = rna.rqs || rna.rin;
     48    var qs = rna.rqs || rna.rin;
     49    document.getElementById('remainingQuantity.'+i).innerHTML = Numbers.formatNumber(rna.remainingQuantity, 2);
     50    document.getElementById('qualityScore.'+i).innerHTML = Numbers.formatNumber(qs, qs < -10 ? 0 : 1);
    5051    document.getElementById('comment.'+i).innerHTML = rna.comment || '';
    5152    document.getElementById('flag.'+i).innerHTML = rna.flag;
Note: See TracChangeset for help on using the changeset viewer.