I’m using an Ember.CollectionView with an itemView that contains {{bindAttr class="App.offersController.filters.profile:selected"}}.
When App.offersController.filters changes, the collectionView rerender each itemView.
When I use {{bindAttr class="App.offersController.filters.profile:selected"}}, I receive error TypeError: elem is undefined on line 18675, Ember try to change attribute that was destroyed with old view.
In Ember’s code i see comments:
If we can’t find the element anymore, a parent template has been re-rendered and we’ve been nuked. Remove the observer.
It works when i use {{App.offersController.filters.profile}}, but not with {{bindAttr class="App.offersController.filters.profile:selected"}}
Update your ember.js into latest because there is an issue in ember.10.pre. Please refer here