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

builder.js patient info fix

Patient info was being written to model under m.patient_id
parent 1abdf33a
......@@ -238,7 +238,7 @@ Builder.prototype = {
var save_callback = function() {
var value = document.getElementById(id).value;
self.db.save_patient_info(self.m.patient_id, value);
self.m.patient_id = value
self.m.info = value
self.post_save(self, data)
}
......
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