Commit 8b0975f7 authored by Mathieu Giraud's avatar Mathieu Giraud

index.html, js/model.js: reword 'allele' menu, default to 'when_not_01'

See #1679.
parent 2562c059
...@@ -221,10 +221,10 @@ ...@@ -221,10 +221,10 @@
<div class="buttonSelector" onclick="m.changeCloneNotation('full_sequence', true)"><input id="menuCloneNotSeq" type="radio" name="show_name" value="full_sequence" /><label for="menuCloneNotSeq">sequence (always)</label></div> <div class="buttonSelector" onclick="m.changeCloneNotation('full_sequence', true)"><input id="menuCloneNotSeq" type="radio" name="show_name" value="full_sequence" /><label for="menuCloneNotSeq">sequence (always)</label></div>
</div> </div>
<div class="menu_box"> <div class="menu_box">
allele names</br> alleles in clone names</br>
<div class="buttonSelector" onclick="m.changeAlleleNotation('always', true)"><input id="menualwaysalleleNot" type="radio" name="show_name" value="always" /><label for="menualwaysalleleNot">always show allele</label></div> <div class="buttonSelector" onclick="m.changeAlleleNotation('never', true)"><input id="menu_allele_never" type="radio" name="menu_allele" value="never" /><label for="menu_allele_never">never</label></div>
<div class="buttonSelector" onclick="m.changeAlleleNotation('when_not_01', true)"><input id="menuAlleleNot1" type="radio" name="show_name" value="when_not_01" checked /><label for="menuCloneNotSeqShort"> show allele when not 01</label></div> <div class="buttonSelector" onclick="m.changeAlleleNotation('when_not_01', true)"><input id="menu_allele_when_not_01" type="radio" name="menu_allele" value="when_not_01" checked /><label for="menu_allele_when_not_01">when not *01</label></div>
<div class="buttonSelector" onclick="m.changeAlleleNotation('never', true)"><input id="menuNeverAllele" type="radio" name="show_name" value="never" /><label for="menuCloneNotSeq">never show allele</label></div> <div class="buttonSelector" onclick="m.changeAlleleNotation('always', true)"><input id="menu_allele_always" type="radio" name="menu_allele" value="always" /><label for="menu_allele_always">always</label></div>
</div> </div>
......
...@@ -169,7 +169,7 @@ Model.prototype = { ...@@ -169,7 +169,7 @@ Model.prototype = {
this.analysisFileName = ''; this.analysisFileName = '';
this.db_key = "" //for file who came from the database this.db_key = "" //for file who came from the database
this.cloneNotationType="short_sequence"; this.cloneNotationType="short_sequence";
this.alleleNotation = "never"; this.alleleNotation = "when_not_01";
this.norm = false; this.norm = false;
this.normalization = { this.normalization = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment