fixed autobinder on re-render

This commit is contained in:
kay.one
2013-06-01 10:38:21 -07:00
parent 68662b9cf4
commit 1613643307
3 changed files with 4 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ Marionette.ItemView.prototype.render = function () {
var result = oldItemViewRender.apply(this, arguments);
this.$el.removeClass('iv-' + this.viewName());
//check to see if el has bindings (name attribute)
// any element that has a name attribute and isn't child of another view.