Worked around issue with docs tab polluting supermodel for components to save. Another instance of . Actually, same one, but the fix eralier got undone.

This commit is contained in:
Nick Winter 2014-08-15 10:50:05 -07:00
parent 366dfadba5
commit ba1e7005ca

View file

@ -79,7 +79,7 @@ module.exports = class LevelEditView extends RootView
@insertSubView new ComponentsTabView supermodel: @supermodel
@insertSubView new SystemsTabView supermodel: @supermodel
@insertSubView new RelatedAchievementsView supermodel: @supermodel, level: @level
@insertSubView new ComponentDocsView supermodel: @supermodel
@insertSubView new ComponentDocsView # Don't give it the supermodel, it'll pollute it!
Backbone.Mediator.publish 'level-loaded', level: @level
@showReadOnly() if me.get('anonymous')