From 05abacf58e28de6fb50c20102cc43da91ce5ce18 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 12 Jun 2015 12:17:05 -0400 Subject: [PATCH] fixed credential autopopulation --- awx/ui/static/js/controllers/Credentials.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/controllers/Credentials.js b/awx/ui/static/js/controllers/Credentials.js index af769d0833..cd792dda85 100644 --- a/awx/ui/static/js/controllers/Credentials.js +++ b/awx/ui/static/js/controllers/Credentials.js @@ -166,7 +166,8 @@ export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $r current_item: (!Empty($routeParams.user_id)) ? $routeParams.user_id : null, list: UserList, field: 'user', - input_type: 'radio' + input_type: 'radio', + autopopulateLookup: false }); LookUpInit({ @@ -174,7 +175,8 @@ export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $r form: form, current_item: (!Empty($routeParams.team_id)) ? $routeParams.team_id : null, list: TeamList, - field: 'team' + field: 'team', + autopopulateLookup: false }); if (!Empty($routeParams.user_id)) {