Em.View.remove() in 1.6


#1

I recently upgraded to Ember 1.6.0 in my application, and now I seem to be encountering a breaking change.

I have a generic View that manages it’s own Modal Dialog. It used to be that when I called: myChildView.remove(), it would remove itself from the DOM; but, since upgrading to 1.6, the element isn’t being removed from the DOM. This is causing a variety of side-effects in my application, including:

Uncaught Error: Assertion Failed: Attempted to register a view with an id already in use: reqsModal

Does anyone know of an alternative for ensuring that the child Modal is properly destroyed?

Thanks.