mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Fixed adding new components in the thang components edit view.
This commit is contained in:
parent
39d0df5153
commit
2f72aa4f47
1 changed files with 2 additions and 0 deletions
|
@ -348,6 +348,8 @@ module.exports = class ThangComponentsEditView extends CocoView
|
|||
|
||||
|
||||
class ThangComponentsObjectNode extends TreemaObjectNode
|
||||
addNewChild: -> @addNewChildForKey('') # HACK to get the object adding to act more like adding to an array
|
||||
|
||||
getChildren: ->
|
||||
children = super(arguments...)
|
||||
children.sort(@sortFunction)
|
||||
|
|
Loading…
Reference in a new issue