diff --git a/awx/ui/static/js/controllers/JobDetail.js b/awx/ui/static/js/controllers/JobDetail.js index 69ec573cd1..2c5ff4d212 100644 --- a/awx/ui/static/js/controllers/JobDetail.js +++ b/awx/ui/static/js/controllers/JobDetail.js @@ -593,19 +593,23 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar }, 500)); scope.selectPlay = function(id) { - scope.auto_scroll_plays = false; - SelectPlay({ - scope: scope, - id: id - }); + if (!scope.liveEventProcessing) { + scope.auto_scroll_plays = false; + SelectPlay({ + scope: scope, + id: id + }); + } }; scope.selectTask = function(id) { - scope.auto_scroll_tasks = false; - SelectTask({ - scope: scope, - id: id - }); + if (!scope.liveEventProcessing) { + scope.auto_scroll_tasks = false; + SelectTask({ + scope: scope, + id: id + }); + } }; scope.toggleSummary = function(hide) { diff --git a/awx/ui/static/js/helpers/JobDetail.js b/awx/ui/static/js/helpers/JobDetail.js index 9430420562..78e0542014 100644 --- a/awx/ui/static/js/helpers/JobDetail.js +++ b/awx/ui/static/js/helpers/JobDetail.js @@ -968,7 +968,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge } scope.plays = result; if (scope.liveEventProcessing) { - scope.$emit('FixPlaysScroll'); + $('#plays-table-detail').scrollTop($('#plays-table-detail').prop("scrollHeight")); } }; }]) @@ -1005,7 +1005,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge scope.tasks = result; if (scope.liveEventProcessing) { - scope.$emit('FixTasksScroll'); + $('#tasks-table-detail').scrollTop($('#tasks-table-detail').prop("scrollHeight")); } }; }]) @@ -1043,7 +1043,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge } scope.hostResults = result; if (scope.liveEventProcessing) { - scope.$emit('FixHostResultsScroll'); + $('#hosts-table-detail').scrollTop($('#hosts-table-detail').prop("scrollHeight")); } }; }]) diff --git a/awx/ui/static/partials/job_detail.html b/awx/ui/static/partials/job_detail.html index b751b52fe2..6cfa55fdfb 100644 --- a/awx/ui/static/partials/job_detail.html +++ b/awx/ui/static/partials/job_detail.html @@ -81,11 +81,10 @@
Name
- -
+
@@ -96,8 +95,6 @@ aw-tool-tip="{{ play.status_tip }}" data-tip-watch="play.status_tip" data-placement="top"> {{ play.name }}
-
@@ -105,6 +102,7 @@
+