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.

This commit is contained in:
Michael Abashian
2015-12-14 13:59:23 -05:00
parent 667d8a2667
commit 3ee770a02e

View File

@@ -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,