From f6be87678c2e36caf596cd31adef05163723c8e6 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Tue, 30 Jul 2013 20:17:56 -0400 Subject: [PATCH] AC-319 attempt at remedying hosts randomly posting to wrong group. --- awx/ui/static/js/controllers/Inventories.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js index f778bbed69..877081b192 100644 --- a/awx/ui/static/js/controllers/Inventories.js +++ b/awx/ui/static/js/controllers/Inventories.js @@ -455,6 +455,9 @@ function InventoriesEdit ($scope, $rootScope, $compile, $location, $log, $routeP scope.groupTitle = '

All Hosts

'; scope.group_id = null; } + if (!scope.$$phase) { + scope.$digest(); + } HostsReload({ scope: scope, inventory_id: scope['inventory_id'], group_id: scope['group_id'] }); });