Commit d4d39e34 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/builder.js: 'open/save' instead of 'open patient/save patient'

Discussion with @mikael-s, @aurelBZH and @RyanHerb:
The same menu entry was previously used to open/save different sample sets.
parent 7ef55c02
......@@ -649,7 +649,7 @@ Builder.prototype = {
if (typeof m.sample_set_id != 'undefined') {
var open_patient = document.createElement('a');
open_patient.className = "buttonSelector";
open_patient.appendChild(document.createTextNode("open patient"));
open_patient.appendChild(document.createTextNode("open"));
open_patient.onclick = function() {
db.call('sample_set/index', {'id' : m.sample_set_id});
}
......@@ -657,7 +657,7 @@ Builder.prototype = {
var save_analysis = document.createElement("a");
save_analysis.className = "buttonSelector"
save_analysis.appendChild(document.createTextNode("save patient"));
save_analysis.appendChild(document.createTextNode("save"));
save_analysis.onclick = function() {
db.save_analysis();
}
......
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