Open stephen-moyer opened 8 years ago
I was looking at how a collection is handled and how ItemView is used, and saw this:
views[target.cid] = view = new ItemView({ model: target, collectionView: this.view });
However, collectionView is not actually set on the child items view. For now I am just doing this as a work around:
views[target.cid] = view = new ItemView({ model: target }); view.collectionView = this.view;
I was looking at how a collection is handled and how ItemView is used, and saw this:
views[target.cid] = view = new ItemView({ model: target, collectionView: this.view });
However, collectionView is not actually set on the child items view. For now I am just doing this as a work around: