1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

fixed credential autopopulation

This commit is contained in:
John Mitchell 2015-06-12 12:17:05 -04:00
parent ac8d016444
commit 05abacf58e

View File

@ -166,7 +166,8 @@ export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $r
current_item: (!Empty($routeParams.user_id)) ? $routeParams.user_id : null, current_item: (!Empty($routeParams.user_id)) ? $routeParams.user_id : null,
list: UserList, list: UserList,
field: 'user', field: 'user',
input_type: 'radio' input_type: 'radio',
autopopulateLookup: false
}); });
LookUpInit({ LookUpInit({
@ -174,7 +175,8 @@ export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $r
form: form, form: form,
current_item: (!Empty($routeParams.team_id)) ? $routeParams.team_id : null, current_item: (!Empty($routeParams.team_id)) ? $routeParams.team_id : null,
list: TeamList, list: TeamList,
field: 'team' field: 'team',
autopopulateLookup: false
}); });
if (!Empty($routeParams.user_id)) { if (!Empty($routeParams.user_id)) {