partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit b3c2f2f333660f8e9fbfa991c3556807568b693a
parent 27ccfd6ff3c6bfd6665405ccb8db34a72ec4c8cb
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed, 30 Sep 2015 17:20:38 +0200

Use the object directly, the HydraProxy will take care of converting the object to the ID

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartsManager.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartsManager.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartsManager.js @@ -178,7 +178,7 @@ Ext.define('PartKeepr.PartManager', { */ getChildrenIds: function (node) { - var childNodes = [node.getId()]; + var childNodes = [node]; if (node.hasChildNodes()) { for (var i = 0; i < node.childNodes.length; i++) {