hideLoading on ThangEditView and ComponentConfigView.

This commit is contained in:
Ting-Kuan 2014-04-17 22:41:07 -04:00
parent 64f986c286
commit 75224e0cd9
2 changed files with 2 additions and 1 deletions

View file

@ -63,6 +63,7 @@ module.exports = class ComponentConfigView extends CocoView
@editThangTreema = @$el.find('.treema').treema treemaOptions
@editThangTreema.build()
@editThangTreema.open(2)
@hideLoading()
onConfigEdited: =>
@changed = true

View file

@ -72,9 +72,9 @@ module.exports = class ThangComponentEditView extends CocoView
'object': ComponentNode
# I have no idea why it's not building in the Thang Editor unless I defer
_.defer (=>
console.debug 'treema', @$el.find('#add-component-column .treema')
@addComponentsTreema = @$el.find('#add-component-column .treema').treema treemaOptions
@addComponentsTreema.build()
@hideLoading()
), 500
onSelectAddableComponent: (e, selected) =>