Fixed ComponentDocsView's components collection overwriting data for other level editor data. Related to #1108.

This commit is contained in:
Scott Erickson 2014-08-05 14:56:11 -07:00
parent c5d496c063
commit d5a8d8dc72

View file

@ -74,7 +74,7 @@ module.exports = class LevelEditView extends RootView
@insertSubView new ScriptsTabView world: @world, supermodel: @supermodel, files: @files
@insertSubView new ComponentsTabView supermodel: @supermodel
@insertSubView new SystemsTabView supermodel: @supermodel
@insertSubView new ComponentDocsView supermodel: @supermodel
@insertSubView new ComponentDocsView()
Backbone.Mediator.publish 'level-loaded', level: @level
@showReadOnly() if me.get('anonymous')