mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
Fixed create operation on Credentials. Credential lookups on Groups and Projects now working.
This commit is contained in:
committed by
Chris Church
parent
41b5d8b9ad
commit
72aacfd972
@@ -279,6 +279,7 @@ function ProjectsAdd ($scope, $rootScope, $compile, $location, $log, $routeParam
|
||||
|
||||
LookUpInit({
|
||||
scope: scope,
|
||||
url: GetBasePath('credentials') + '?kind=scm',
|
||||
form: form,
|
||||
list: CredentialList,
|
||||
field: 'credential'
|
||||
@@ -498,8 +499,8 @@ function ProjectsEdit ($scope, $rootScope, $compile, $location, $log, $routePara
|
||||
|
||||
// Load the list of options for Kind
|
||||
GetChoices({
|
||||
url: GetBasePath('credentials') + '?kind=scm',
|
||||
scope: scope,
|
||||
url: defaultUrl,
|
||||
field: 'scm_type',
|
||||
variable: 'scm_type_options',
|
||||
callback: 'choicesReady'
|
||||
|
||||
Reference in New Issue
Block a user