From d32ba23705360199f811cac6c579a0152bb2060f Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Wed, 23 Jul 2014 10:08:49 -0400 Subject: [PATCH] Menu title fix Always recalc menu title regardless of menu level. --- awx/ui/static/js/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index ac749a11fc..f3da8c12e0 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -452,9 +452,7 @@ angular.module('Tower', [ base = (base === 'job_events' || base === 'job_host_summaries') ? 'jobs' : base; } - if (urlDepth === 1 && base !== 'home') { - $('#ansible-list-title').html('' + base.replace(/\_/,' ') + ''); - } + $('#ansible-list-title').html('' + base.replace(/\_/,' ') + ''); $('#ansible-main-menu li').each(function() { $(this).removeClass('active');