Skip to content

ItemView collectionView attribute #136

@stephen-moyer

Description

@stephen-moyer

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions