Commit 6c9a326e authored by Ryan Herbert's avatar Ryan Herbert
Browse files

form_builder.js fix super class method call for build_date

parent c7ef15ce
......@@ -147,7 +147,7 @@ SetFormBuilder.prototype.build_info = function() {
};
SetFormBuilder.prototype.build_date = function(id, name, label) {
return Object.getPrototypeOf(SetFormBuilder.prototype).build_date(id, name, label);
return Object.getPrototypeOf(SetFormBuilder.prototype).build_date.call(this, id, this.type, name, label);
}
function PatientFormBuilder() {
......
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