diff --git a/awx/ui/static/js/helpers/CustomInventory.js b/awx/ui/static/js/helpers/CustomInventory.js index fa869559e1..93cd236e2b 100644 --- a/awx/ui/static/js/helpers/CustomInventory.js +++ b/awx/ui/static/js/helpers/CustomInventory.js @@ -84,7 +84,7 @@ angular.module('CreateCustomInventoryHelper', [ 'Utilities', 'RestServices', 'Sc CreateDialog({ id: 'custom-script-dialog', - title: 'Inventory Scripts', + title: 'Inventory Script', target: 'custom-script-dialog', scope: scope, buttons: buttons, diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index 98045da00f..f402e64ca2 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -45,7 +45,7 @@ angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'Credential } delete(job_launch_data.extra_vars); if(!Empty(scope.credential)){ - job_launch_data.credential = scope.credential; + job_launch_data.credential_id = scope.credential; } Rest.setUrl(url); Rest.post(job_launch_data)