From 2f72aa4f47866273dde5833ac2699c593276084b Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Tue, 26 Aug 2014 13:48:57 -0700 Subject: [PATCH] Fixed adding new components in the thang components edit view. --- app/views/editor/component/ThangComponentsEditView.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/editor/component/ThangComponentsEditView.coffee b/app/views/editor/component/ThangComponentsEditView.coffee index f2ce6b905..b1b399135 100644 --- a/app/views/editor/component/ThangComponentsEditView.coffee +++ b/app/views/editor/component/ThangComponentsEditView.coffee @@ -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)