From 191cbeee42c324a8418aac5517d847298f47b3ed Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Tue, 21 Feb 2017 15:03:36 -0500 Subject: [PATCH] make sure entering already running job case doesn't called elapsed to reset --- awx/ui/client/src/job-results/job-results.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/job-results/job-results.controller.js b/awx/ui/client/src/job-results/job-results.controller.js index 7fe7cc31a0..33f93bb535 100644 --- a/awx/ui/client/src/job-results/job-results.controller.js +++ b/awx/ui/client/src/job-results/job-results.controller.js @@ -668,7 +668,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy if (statusSocket[0].job_status) { $scope.job_status = statusSocket[0].job_status; } - if ($scope.job_status === "running") { + if ($scope.job_status === "running" && !$scope.job.elapsed) { runTimeElapsedTimer = workflowResultsService.createOneSecondTimer(moment(), updateJobElapsedTimer); }