From d946ca052afb336eff7d93827231233b0d793743 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Mon, 31 Mar 2014 03:28:03 -0400 Subject: [PATCH] Job delete now uses job.url --- awx/ui/static/js/helpers/Jobs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/helpers/Jobs.js b/awx/ui/static/js/helpers/Jobs.js index 237e4bd564..fd8d077673 100644 --- a/awx/ui/static/js/helpers/Jobs.js +++ b/awx/ui/static/js/helpers/Jobs.js @@ -395,7 +395,7 @@ function(Find, GetBasePath, Rest, Wait, ProcessErrors, Prompt){ action_label = 'cancel'; hdr = 'Cancel Job'; } else { - url = job.related.cancel; //GetBasePath('unified_jobs') + id + '/'; + url = job.url; action_label = 'delete'; hdr = 'Delete Job'; }