From 646bcd407f33154ed317985161c176cf715e9e3d Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 10 Dec 2014 15:16:03 -0500 Subject: [PATCH] Job Detail events scrolling defect fix On the events view of the job detail page, when the list of hosts if very long, and an api call is made to get more host events, the host edit modal was using the hostname instead of the host id number to make a call to the job events endpoint --- awx/ui/static/js/controllers/JobDetail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/controllers/JobDetail.js b/awx/ui/static/js/controllers/JobDetail.js index afdf93c409..aeccdc4052 100644 --- a/awx/ui/static/js/controllers/JobDetail.js +++ b/awx/ui/static/js/controllers/JobDetail.js @@ -1263,7 +1263,7 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar name = ""; } scope.hosts.push({ - id: name, + id: row.id, name: name, ok: row.ok, changed: row.changed,