Commit 836e3c28 authored by aurelien beliard's avatar aurelien beliard Committed by Mathieu Giraud
Browse files

create a button by normalization

parent 15e7e1c1
......@@ -150,13 +150,14 @@ Builder.prototype = {
input.id = "reset_norm";
var div = document.createElement("div");
div.appendChild(input);
div.appendChild(document.createTextNode("none"))
div.onclick = function () {
self.m.compute_normalization(-1) ;
this.firstChild.checked=false;
this.firstChild.checked=true;
self.m.update();
};
div.appendChild(input);
normalize_list.appendChild(div);
tmp_norm_list =[]
if(m.normalization_list.length>=1){
......@@ -167,7 +168,6 @@ Builder.prototype = {
if (tmp_norm_list[div] == m.normalization_list[norm].id){
check=true
}
}
if (check==false) {
var id=m.normalization_list[norm].id
......
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