From b70464dfebe1aaa261509e67390a018eb634fa7e Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 10 Dec 2014 16:22:09 -0500 Subject: [PATCH] Job template form add mode, can_edit = true had to include can_edit = true for creating a job template so that button would be enabled when form is valid --- awx/ui/static/js/controllers/JobTemplates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/controllers/JobTemplates.js b/awx/ui/static/js/controllers/JobTemplates.js index affd0a4a10..af7386b507 100644 --- a/awx/ui/static/js/controllers/JobTemplates.js +++ b/awx/ui/static/js/controllers/JobTemplates.js @@ -259,7 +259,7 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa callback; CallbackHelpInit({ scope: $scope }); - + $scope.can_edit = true; generator.inject(form, { mode: 'add', related: false, scope: $scope }); callback = function() {