From ea1b70273de475b6d540e937c0ccc950afe8b5e4 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 7 Nov 2014 13:40:19 -0500 Subject: [PATCH] Jobs helper added a check if the job run was in the portal job list --- awx/ui/static/js/helpers/Jobs.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/static/js/helpers/Jobs.js b/awx/ui/static/js/helpers/Jobs.js index a227faf2cd..3ce544baa1 100644 --- a/awx/ui/static/js/helpers/Jobs.js +++ b/awx/ui/static/js/helpers/Jobs.js @@ -87,6 +87,9 @@ angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'Job else if (scope.jobs) { list = scope.jobs; } + else if(scope.portal_jobs){ + list=scope.portal_jobs; + } job = Find({ list: list, key: 'id', val: id }); if (job.type === 'job') { if(scope.$parent.portalMode===true){