mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
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
This commit is contained in:
parent
e668280d67
commit
b70464dfeb
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user