Fixed some indentation.

This commit is contained in:
Scott Erickson 2014-04-21 11:42:21 -07:00
parent 974e5e1b24
commit 9bc8ae11da

View file

@ -50,13 +50,13 @@ module.exports = class ThangTypeEditView extends View
@thangType.saveBackups = true @thangType.saveBackups = true
@listenToOnce(@thangType, 'error', => @listenToOnce(@thangType, 'error', =>
@hideLoading() @hideLoading()
# Hack: editor components appear after calling insertSubView. # Hack: editor components appear after calling insertSubView.
# So we need to hide them first. # So we need to hide them first.
$(@$el).find('.main-content-area').children('*').not('#error-view').remove() $(@$el).find('.main-content-area').children('*').not('#error-view').remove()
@insertSubView(new ErrorView()) @insertSubView(new ErrorView())
) )
thangRes = @supermodel.addModelResource(@thangType, 'thang_type') thangRes = @supermodel.addModelResource(@thangType, 'thang_type')