From 5afd8ecce41fba13bf8e1b0865b068fdca8f56f1 Mon Sep 17 00:00:00 2001 From: Leigh Johnson Date: Wed, 27 Apr 2016 09:42:23 -0400 Subject: [PATCH] pass enabled/disabled to DsahboardHostService #1679 --- .../src/dashboard/hosts/dashboard-hosts-edit.controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js b/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js index 08abb34cdd..8393088f4a 100644 --- a/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js +++ b/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js @@ -24,7 +24,8 @@ id: $scope.host.id, variables: $scope.extraVars === '---' || $scope.extraVars === '{}' ? null : $scope.extraVars, name: $scope.name, - description: $scope.description + description: $scope.description, + enabled: $scope.host.enabled }; DashboardHostService.putHost(host).then(function(res){ $state.go('^', null, {reload: true});