diff --git a/awx/ui/static/js/widgets/PortalJobs.js b/awx/ui/static/js/widgets/PortalJobs.js index b337dc930d..94a3a34fa0 100644 --- a/awx/ui/static/js/widgets/PortalJobs.js +++ b/awx/ui/static/js/widgets/PortalJobs.js @@ -19,7 +19,7 @@ angular.module('PortalJobsWidget', ['RestServices', 'Utilities']) choicesCount = 0, listCount = 0, jobs_scope = scope.$new(true), - scheduled_scope = scope.$new(true), + // scheduled_scope = scope.$new(true), max_rows, html, e; @@ -34,7 +34,7 @@ angular.module('PortalJobsWidget', ['RestServices', 'Utilities']) // html += "\n"; // html += "
\n"; html += "
\n"; - html += "
\n"; + html += "\n"; //row html += "
\n"; @@ -56,7 +56,7 @@ angular.module('PortalJobsWidget', ['RestServices', 'Utilities']) listCount++; if (listCount === 1) { //api_complete = true; - scope.$emit('WidgetLoaded', "dashboard_jobs", jobs_scope, scheduled_scope); + scope.$emit('WidgetLoaded', jobs_scope); } }); @@ -126,7 +126,7 @@ angular.module('PortalJobsWidget', ['RestServices', 'Utilities']) var docw = $(window).width(), box_height, available_height, search_row, page_row, height, header, row_height; - available_height = Math.floor($(window).height() - $('#main-menu-container .navbar').outerHeight() - $('#refresh-row').outerHeight() - 30); + available_height = Math.floor($(window).height() - $('#main-menu-container .navbar').outerHeight() - $('#refresh-row').outerHeight() - 35); $('.portal-job-template-container').height(available_height); $('.portal-container').height(available_height); search_row = Math.max($('.search-row:eq(0)').outerHeight(), 50);