Commit d85c4e4a authored by Marc Duez's avatar Marc Duez

builder.js : replace edit/info button

parent cd49e1c5
......@@ -536,14 +536,6 @@ Builder.prototype = {
}
div_point.appendChild(nextTime)
var editTimeName = document.createElement('span')
editTimeName.appendChild(document.createTextNode("edit"));
editTimeName.className = "button_right"
editTimeName.onclick = function () {
self.edit(this, "time");
}
div_point.appendChild(editTimeName)
if (self.m.isPlaying){
var stop = document.createElement('span')
stop.appendChild(document.createTextNode("stop"));
......@@ -562,14 +554,6 @@ Builder.prototype = {
div_point.appendChild(play)
}
var infoTime = document.createElement('span')
infoTime.appendChild(document.createTextNode("Info"));
infoTime.className = "button_right"
infoTime.onclick = function () {
dataBox(self.m.getPointHtmlInfo(self.m.t));
}
div_point.appendChild(infoTime)
var previousTime = document.createElement('span')
previousTime.appendChild(document.createTextNode("<"));
previousTime.className = "previous_button button_right"
......@@ -578,6 +562,22 @@ Builder.prototype = {
}
div_point.appendChild(previousTime)
var editTimeName = document.createElement('span')
editTimeName.appendChild(document.createTextNode("edit"));
editTimeName.className = "button_right"
editTimeName.onclick = function () {
self.edit(this, "time");
}
div_point.appendChild(editTimeName)
var infoTime = document.createElement('span')
infoTime.appendChild(document.createTextNode("Info"));
infoTime.className = "button_right"
infoTime.onclick = function () {
dataBox(self.m.getPointHtmlInfo(self.m.t));
}
div_point.appendChild(infoTime)
parent.appendChild(div_point)
var div_date = this.build_info_line("info_date", "date", this.m.getStrTime(this.m.t, "sampling_date") )
......
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