Commit 7918f6d0 authored by Marc Duez's avatar Marc Duez
Browse files

main.js : add save analysis(server) button

parent 4f3630ff
......@@ -50,9 +50,13 @@ if (typeof config != 'undefined') {
a.className = "buttonSelector"
a.onclick = function () { db.call('patient/index') }
a.appendChild(document.createTextNode("database"))
document.getElementById("demoSelector").firstChild.appendChild(a);
a = document.createElement('a');
a.className = "buttonSelector"
a.onclick = function () { db.save_analysis() }
a.appendChild(document.createTextNode("save analysis (database)"))
document.getElementById("demoSelector").firstChild.appendChild(a);
}
if (config.debug_mode) {
......
......@@ -88,6 +88,7 @@ Model.prototype = {
this.analysisFileName = '';
this.notation_type = "percent"
this.time_type = "name"
this.db_key = "" //for file who came from the database
this.normalization = {
"A" : [],
"B" : 0,
......
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