Commit 497eec10 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team
Browse files

builder.js annotations saving

Replaced default value from save_info button with dynamic value
parent 42f9b475
......@@ -558,7 +558,7 @@ Builder.prototype = {
var save_info = document.createElement("span")
save_info.onclick = function() {
self.db.save_sample_info(self.m.t, "foobar");
self.db.save_sample_info(self.m.t, $('.info_text').val());
save_info.innerHTML = "save"
save_info.className = "save_info button_right"
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