mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
hideLoading on ThangEditView and ComponentConfigView.
This commit is contained in:
parent
64f986c286
commit
75224e0cd9
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue