PaulUithol/Backbone-relational — Issue #48: add:relation event fires on collection initialize
Author: cjroebuck
Created: 2011-11-05 17:02:06+00:00
State: open

I am binding to the add:relation event on a HasMany relation on my relational model to update the view when a new model is added to that relations collection.

Only problem is that it gets called once per item when the collection is reset. How can I silence the add event from being emitted when initialising the collection, but get it to fire for one-off additions?