this.params = params;
this.dom = $(_.template(viewTemplate)());
this.list = this.dom.find('ul');
- this.addButton = this.dom.find('button.add');
this.itemViews = [];
this.listNode.contents()
this.dom = $(_.template(viewItemTemplate)());
this.container = exerciseView.element.createContainer(node.contents(), {
- manages: function(node, originaParent) {
- return this.node.sameNode(node.parent() || originaParent);
+ resetBackground: true,
+ manages: function(node, originalParent) {
+ return this.node.sameNode(node.parent() || originalParent);
}.bind(this),
dom: this.dom.find('.content')
});