[ALOY-430] Collection binding doesn't handle Backbone "reset" event
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-12-18T16:41:59.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Alloy 0.3.4, 2012 Sprint 26 |
| Components | n/a |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-12-18T16:31:19.000+0000 |
| Updated | 2018-03-07T22:25:47.000+0000 |
Description
Just need to add "reset" to the list of events that Backbone will respond to and re-render collection-bound UI components with.
COLLECTION_NAME.on('fetch destroy change add remove reset', function(e) {
// binding code
});
No comments