diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 4d0c185c73..8a73ae16ba 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -526,7 +526,6 @@ angular.module('Tower', [ } if (next && next.$$route && (!/^\/(login|logout)/.test(next.$$route.originalPath))) { // if not headed to /login or /logout, then check the license - console.log(next); CheckLicense.test(); } } diff --git a/awx/ui/static/js/controllers/Jobs.js b/awx/ui/static/js/controllers/Jobs.js index a22e7917ce..4f79be97d0 100644 --- a/awx/ui/static/js/controllers/Jobs.js +++ b/awx/ui/static/js/controllers/Jobs.js @@ -31,11 +31,7 @@ function JobsListController ($rootScope, $log, $scope, $compile, $routeParams, C job_socket.init(); job_socket.on("status_changed", function(data) { if (api_complete) { - console.log('here'); - console.log(data); processEvent(data); - } else { - console.log('api not completed!'); } }); schedule_socket = Socket({ @@ -68,7 +64,6 @@ function JobsListController ($rootScope, $log, $scope, $compile, $routeParams, C }, 3000); function processEvent(event) { - console.log(event); switch(event.status) { case 'running': running_scope.search('running_job'); @@ -263,4 +258,4 @@ function JobsListController ($rootScope, $log, $scope, $compile, $routeParams, C } JobsListController.$inject = ['$rootScope', '$log', '$scope', '$compile', '$routeParams', 'ClearScope', 'Breadcrumbs', 'LoadBreadCrumbs', 'LoadSchedulesScope', 'LoadJobsScope', 'RunningJobsList', 'CompletedJobsList', - 'QueuedJobsList', 'ScheduledJobsList', 'GetChoices', 'GetBasePath', 'Wait', 'Socket']; \ No newline at end of file + 'QueuedJobsList', 'ScheduledJobsList', 'GetChoices', 'GetBasePath', 'Wait', 'Socket']; diff --git a/awx/ui/static/js/helpers/Jobs.js b/awx/ui/static/js/helpers/Jobs.js index 2c3f5e356a..f12879fd60 100644 --- a/awx/ui/static/js/helpers/Jobs.js +++ b/awx/ui/static/js/helpers/Jobs.js @@ -483,7 +483,7 @@ function(Find, GetBasePath, Rest, Wait, ProcessErrors, Prompt, Alert){ scope.search(scope.iterator); } }) - .error(function (data, status) { + .error(function () { Wait('stop'); $('#prompt-modal').modal('hide'); // Ignore the error. The job most likely already finished.