diff --git a/awx/ui/static/js/helpers/ConfigureTower.js b/awx/ui/static/js/helpers/ConfigureTower.js index f6cdfce96f..1f28e0785c 100644 --- a/awx/ui/static/js/helpers/ConfigureTower.js +++ b/awx/ui/static/js/helpers/ConfigureTower.js @@ -136,12 +136,12 @@ angular.module('ConfigureTowerHelper', [ 'Utilities', 'RestServices', 'Schedules } }; - scope.submitJob = function (id) { + scope.submitJob = function (id, name) { Wait('start'); defaultUrl = GetBasePath('system_job_templates')+id+'/launch/'; CreateDialog({ id: 'prompt-for-days' , - title: "Cleanup Job", + title: name, scope: scope, width: 500, height: 300, diff --git a/awx/ui/static/js/lists/ConfigureTowerJobs.js b/awx/ui/static/js/lists/ConfigureTowerJobs.js index 6ffae95f8c..884e0847f9 100644 --- a/awx/ui/static/js/lists/ConfigureTowerJobs.js +++ b/awx/ui/static/js/lists/ConfigureTowerJobs.js @@ -34,7 +34,7 @@ angular.module('ConfigureTowerJobsListDefinition', []) submit: { label: 'Launch', mode: 'all', - ngClick: 'submitJob(configure_job.id)', + ngClick: 'submitJob(configure_job.id, configure_job.name)', awToolTip: 'Start a job using this template', dataPlacement: 'top' },