Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit be74a233 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

builder.js replace button with dblclick

Removed the edit button for sequence_file names and added double click
event listener
parent 93f7d622
......@@ -418,16 +418,6 @@ Builder.prototype = {
var sample_div = document.createElement("div")
sample_div.className = "sample_details"
var editTimeName = self.createClickableElem('span',
[document.createTextNode("edit")],
"",
"button_right",
function () {
self.edit(this, "names");
}
);
sample_div.appendChild(editTimeName)
var infoTime = self.createClickableElem('span',
[document.createTextNode("Info")],
"",
......@@ -440,6 +430,11 @@ Builder.prototype = {
var div_point = this.build_info_line("info_point", this.m.getStrTime(this.m.t, "name") )
div_point.className += " centered"
$(div_point).on("dblclick", function() {
self.edit(this, "names");
});
sample_div.appendChild(div_point)
var div_date = this.build_info_line("info_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