mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -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:
@@ -259,7 +259,7 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa
|
|||||||
callback;
|
callback;
|
||||||
|
|
||||||
CallbackHelpInit({ scope: $scope });
|
CallbackHelpInit({ scope: $scope });
|
||||||
|
$scope.can_edit = true;
|
||||||
generator.inject(form, { mode: 'add', related: false, scope: $scope });
|
generator.inject(form, { mode: 'add', related: false, scope: $scope });
|
||||||
|
|
||||||
callback = function() {
|
callback = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user