From 3ee770a02e1b1806d24bfadaaa16957c9f8c75da Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Mon, 14 Dec 2015 13:59:23 -0500 Subject: [PATCH] The default value for the allow_callbacks checkbox needs to be a boolean (true/false) and not a string ("true"/"false"). The string will always evaluate to false in the UI and be unchecked. --- awx/ui/client/src/controllers/JobTemplates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/controllers/JobTemplates.js b/awx/ui/client/src/controllers/JobTemplates.js index f1dc484dbd..b8ea1bd888 100644 --- a/awx/ui/client/src/controllers/JobTemplates.js +++ b/awx/ui/client/src/controllers/JobTemplates.js @@ -903,7 +903,7 @@ export function JobTemplatesEdit($filter, $scope, $rootScope, $compile, $locatio $scope.search(relatedSets[set].iterator); } - dft = ($scope.host_config_key === "" || $scope.host_config_key === null) ? 'false' : 'true'; + dft = ($scope.host_config_key === "" || $scope.host_config_key === null) ? false : true; md5Setup({ scope: $scope, master: master,