diff --git a/awx/ui/static/js/controllers/JobDetail.js b/awx/ui/static/js/controllers/JobDetail.js index f6c18321d0..d973d40abe 100644 --- a/awx/ui/static/js/controllers/JobDetail.js +++ b/awx/ui/static/js/controllers/JobDetail.js @@ -7,7 +7,7 @@ 'use strict'; -function JobDetailController ($scope, $compile, $routeParams, ClearScope, Breadcrumbs, LoadBreadCrumbs, GetBasePath, Wait, Rest, ProcessErrors, DigestEvents, +function JobDetailController ($scope, $compile, $routeParams, $log, ClearScope, Breadcrumbs, LoadBreadCrumbs, GetBasePath, Wait, Rest, ProcessErrors, DigestEvents, SelectPlay, SelectTask, Socket, GetElapsed, SelectHost, FilterAllByHostName, DrawGraph) { ClearScope(); @@ -655,11 +655,11 @@ function JobDetailController ($scope, $compile, $routeParams, ClearScope, Breadc }; scope.viewEvent = function(event_id) { - - } + $log.debug(event_id); + }; } -JobDetailController.$inject = [ '$scope', '$compile', '$routeParams', 'ClearScope', 'Breadcrumbs', 'LoadBreadCrumbs', 'GetBasePath', 'Wait', +JobDetailController.$inject = [ '$scope', '$compile', '$routeParams', '$log', 'ClearScope', 'Breadcrumbs', 'LoadBreadCrumbs', 'GetBasePath', 'Wait', 'Rest', 'ProcessErrors', 'DigestEvents', 'SelectPlay', 'SelectTask', 'Socket', 'GetElapsed', 'SelectHost', 'FilterAllByHostName', 'DrawGraph' ]; diff --git a/awx/ui/static/js/forms/JobTemplates.js b/awx/ui/static/js/forms/JobTemplates.js index 31dad61a10..4e7c073b30 100644 --- a/awx/ui/static/js/forms/JobTemplates.js +++ b/awx/ui/static/js/forms/JobTemplates.js @@ -217,7 +217,7 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet dataPlacement: 'right', dataContainer: "body" }, - ask_variables_on_launch: { + ask_variables_on_launch: { label: 'Prompt for Extra Variables', type: 'checkbox', addRequired: false, diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index a192b24597..65692b59e4 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -438,7 +438,7 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi scope.removePlaybookLaunchFinished(); } scope.removePlaybookLaunchFinished = scope.$on('PlaybookLaunchFinished', function() { - var base = $location.path().replace(/^\//, '').split('/')[0]; + //var base = $location.path().replace(/^\//, '').split('/')[0]; $location.path('/jobs/' + new_job_id); });