diff --git a/awx/ui/static/js/controllers/Jobs.js b/awx/ui/static/js/controllers/Jobs.js index 39aaab194d..f7c5bbd8c0 100644 --- a/awx/ui/static/js/controllers/Jobs.js +++ b/awx/ui/static/js/controllers/Jobs.js @@ -100,7 +100,6 @@ function JobsListController ($scope, $compile, $routeParams, ClearScope, Breadcr $scope.removeListLoaded = $scope.$on('listLoaded', function() { listCount++; if (listCount === expecting) { - //console.log('checking for more events...'); $scope.$emit('ProcessQueue'); } }); @@ -109,11 +108,6 @@ function JobsListController ($scope, $compile, $routeParams, ClearScope, Breadcr LoadBreadCrumbs(); - // Add breadcrumbs - //e = angular.element(document.getElementById('breadcrumbs')); - //e.html(Breadcrumbs({ list: { editTitle: 'Jobs' } , mode: 'edit' })); - //$compile(e)($scope); - if ($scope.removeListLoaded) { $scope.removeListLoaded(); } diff --git a/awx/ui/static/js/helpers/Jobs.js b/awx/ui/static/js/helpers/Jobs.js index 63ac307abb..d18b88626a 100644 --- a/awx/ui/static/js/helpers/Jobs.js +++ b/awx/ui/static/js/helpers/Jobs.js @@ -84,7 +84,6 @@ angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'Job list = scope.jobs; } job = Find({ list: list, key: 'id', val: id }); - console.log('job type: ' + job.type); if (job.type === 'job') { $location.url('/jobs/' + job.id); } diff --git a/awx/ui/static/js/widgets/DashboardJobs.js b/awx/ui/static/js/widgets/DashboardJobs.js index 07c5a9ba32..6096928fbc 100644 --- a/awx/ui/static/js/widgets/DashboardJobs.js +++ b/awx/ui/static/js/widgets/DashboardJobs.js @@ -30,7 +30,14 @@ angular.module('DashboardJobsWidget', ['RestServices', 'Utilities']) html += "href=\"#scheduled-jobs-tab\" data-toggle=\"tab\">Schedule\n"; html += "\n"; html += "
\n"; - html += "
\n"; + html += "
\n"; + html += "
\n"; + html += "
\n"; + html += "
\n"; //row + html += "
\n"; + html += "
\n"; + html += "
\n"; //list + html += "
\n"; //active-jobs-tab html += "
\n"; html += "
\n"; @@ -61,7 +68,7 @@ angular.module('DashboardJobsWidget', ['RestServices', 'Utilities']) parent_scope: scope, scope: jobs_scope, list: JobsList, - id: 'active-jobs-tab', + id: 'active-jobs', url: GetBasePath('unified_jobs') + '?status__in=running,completed,failed,successful,error,canceled', pageSize: max_rows });