rotundasoftware / backbone.collectionView

Easily render backbone.js collections. In addition to managing model views, this class supports automatic selection of models in response to clicks, reordering models via drag and drop, and more.
http://rotundasoftware.github.io/backbone.collectionView/
Other
171 stars 27 forks source link

Ensures selectionChanged trigger fires atomically #24

Closed timherby closed 11 years ago

timherby commented 11 years ago

Hi David,

As we discussed in PR #22, this change is on the dev branch now, and is just the part that ensures "selectionChanged" events are triggered the right number of times. While integrating this, I found you had indeed already added the silent : true option in _restoreSelection, though there was a minor syntax error caught by the new tests.

Please let me know if this works for you.

Thanks,

Tim