From a3b29a196c15043daebf86a19e34f2a19bc4e653 Mon Sep 17 00:00:00 2001 From: jlmitch5 Date: Tue, 29 Aug 2017 11:02:40 -0400 Subject: [PATCH] Fix revert of log aggregator protocol --- .../system-form/configuration-system.controller.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/ui/client/src/configuration/system-form/configuration-system.controller.js b/awx/ui/client/src/configuration/system-form/configuration-system.controller.js index 7f1a11d2cd..11a631aca3 100644 --- a/awx/ui/client/src/configuration/system-form/configuration-system.controller.js +++ b/awx/ui/client/src/configuration/system-form/configuration-system.controller.js @@ -168,6 +168,10 @@ export default [ populateLogAggregator(flag); }); + $scope.$on('LOG_AGGREGATOR_PROTOCOL_populated', function(e, data, flag) { + populateLogAggregator(flag); + }); + function populateLogAggregator(flag){ if($scope.$parent.LOG_AGGREGATOR_TYPE !== null) { $scope.$parent.LOG_AGGREGATOR_TYPE = _.find($scope.$parent.LOG_AGGREGATOR_TYPE_options, { value: $scope.$parent.LOG_AGGREGATOR_TYPE });