commit 494df379a243995d9774f776f2f7bdc6dc201ac3 parent 29a07ce3af1182427b378ff8b310d1509f071e0e Author: Timo A. Hummel <felicitus@felicitus.org> Date: Mon, 27 Jul 2015 22:26:06 +0200 Use the first child of the virtual root category instead of the root category itself Diffstat:
M | src/PartKeepr/FrontendBundle/Resources/public/js/Components/Footprint/FootprintNavigation.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Footprint/FootprintNavigation.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Footprint/FootprintNavigation.js @@ -120,7 +120,7 @@ Ext.define("PartKeepr.FootprintNavigation", { var category; if (selection.length === 0) { - category = this.down("partkeepr\\.FootprintTree").getRootNode().getId(); + category = this.down("partkeepr\\.FootprintTree").getRootNode().firstChild.getId(); } else { var item = selection.shift(); category = item.getId();