Commit fa737da5 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

index.html, js/model.js: sets also update() for .changeNotationMethod()

parent 06422c94
......@@ -193,9 +193,9 @@
</div>
<div class="menu_box">
N regions in clone names</br>
<div class="buttonSelector" onclick="m.changeCloneNotation('nucleotide_number')"><input type="radio" name="show_name" value="nucleotide_number" checked>length</input></div>
<div class="buttonSelector" onclick="m.changeCloneNotation('short_sequence')"><input type="radio" name="show_name" value="short_sequence" >sequence (when short)</input></div>
<div class="buttonSelector" onclick="m.changeCloneNotation('full_sequence')"><input type="radio" name="show_name" value="full_sequence" >sequence (always)</input></div>
<div class="buttonSelector" onclick="m.changeCloneNotation('nucleotide_number', true)"><input type="radio" name="show_name" value="nucleotide_number" checked>length</input></div>
<div class="buttonSelector" onclick="m.changeCloneNotation('short_sequence', true)"><input type="radio" name="show_name" value="short_sequence" >sequence (when short)</input></div>
<div class="buttonSelector" onclick="m.changeCloneNotation('full_sequence', true)"><input type="radio" name="show_name" value="full_sequence" >sequence (always)</input></div>
</div>
<!--
......
......@@ -1886,7 +1886,7 @@ changeCloneNotation: function(cloneNotationType) {
this.notation_type = notation
if (update) this.update()
var radio = document.getElementsByName("notation");
var radio = document.getElementsByName("show_name");
for(var elem in radio){
if(radio[elem].value == notation) radio[elem].checked=true;
}
......
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