Commit 978d3eec authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

builder.js Fixed syntax that was incompatible with older browsers

parent d79609b3
......@@ -268,7 +268,7 @@ Builder.prototype = {
self.m.analysisHasChanged = true
},
update_model_data(fieldName, value, field_parent) {
update_model_data: function(fieldName, value, field_parent) {
if(typeof field_parent != 'undefined')
this.m[field_parent][fieldName]= value;
else
......@@ -276,7 +276,7 @@ Builder.prototype = {
this.post_save(this);
},
update_model_sample_data(fieldName, value, field_parent) {
update_model_sample_data: function(fieldName, value, field_parent) {
if(typeof field_parent != 'undefined')
this.m[field_parent][fieldName][this.m.t]= value;
else
......
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