diff --git a/vendor/assets/javascripts/ember-cloaking.js b/vendor/assets/javascripts/ember-cloaking.js index ccb614db122..07b3506defa 100644 --- a/vendor/assets/javascripts/ember-cloaking.js +++ b/vendor/assets/javascripts/ember-cloaking.js @@ -406,7 +406,12 @@ if (containedView && (containedView._state || containedView.state) !== 'inDOM') { containedView.triggerRecursively('willInsertElement'); containedView.renderToBuffer(buffer); - containedView.transitionTo('inDOM'); + if (Ember.View.prototype._transitionTo) { + containedView._transitionTo('inDOM'); + } else { + containedView.transitionTo('inDOM'); + } + Em.run.schedule('afterRender', function() { if(self._containedView) { self._containedView.triggerRecursively('didInsertElement');