Skip to content
Prev Previous commit
Remove NestedModel.render() - its now inherited from Object.render()
  • Loading branch information
rjmackay committed Jun 27, 2014
commit 06ca9af531963ff1a9b160bb70ca7f01f57ccfb6
12 changes: 0 additions & 12 deletions src/editors/nestedmodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ Form.editors.NestedModel = Form.editors.Object.extend({
});
},

render: function() {

this._observeFormEvents();

//Render form
this.$el.html(this.nestedForm.render().el);

if (this.hasFocus) this.trigger('blur', this);

return this;
},

/**
* Update the embedded model, checking for nested validation errors and pass them up
* Then update the main model if all OK
Expand Down