Initialize _outlets if it's null

This commit is contained in:
Piotr Sarnacki 2013-05-16 01:48:06 +02:00
parent a097271f8a
commit 685cf1074f

View File

@ -21,6 +21,7 @@ Travis.reopen
view = @get('controller.container').lookup('view:build')
view.set('controller', @get('controller.container').lookup('controller:build'))
Ember.run.next =>
@set('_outlets', {}) if !@get('_outlets') && !@destroyed
@connectOutlet('pane', view)
).observes('controller.repo.isLoaded')