Commit dcff3dfa authored by Marc Duez's avatar Marc Duez
Browse files

builder.js : update() adter edit point/time

parent 7c419932
......@@ -194,10 +194,10 @@ Builder.prototype = {
a.appendChild(document.createTextNode("save"));
a.id="btnSavePoint";
a.onclick=function(){
console.log("hello")
var newPointName = document.getElementById("new_point_name").value;
self.m.time[self.point]=newPointName
self.build_info_container()
self.m.update()
}
divParent.appendChild(a);
$('#new_point_name').select();
......
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