From b488514d6e031d5bdb3a77e0ec20f6ff8986b8c0 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Wed, 3 Jul 2013 12:11:20 -0400 Subject: [PATCH] When manually expanding a node, do not automatically expand all children. --- awx/ui/static/js/helpers/Children.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/static/js/helpers/Children.js b/awx/ui/static/js/helpers/Children.js index 4f053bf8ad..ea377c67ec 100644 --- a/awx/ui/static/js/helpers/Children.js +++ b/awx/ui/static/js/helpers/Children.js @@ -25,9 +25,9 @@ angular.module('ChildrenHelper', ['RestServices', 'Utilities']) for (var i = node + 1; i < set.length; i++) { if (set[i].parent == set[node].id) { set[i]['show'] = true; - if (set[i].related.children) { - expand(i); - } + //if (set[i].related.children) { + // expand(i); + //} } } }