1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Menu title fix

Always recalc menu title regardless of menu level.
This commit is contained in:
Chris Houseknecht 2014-07-23 10:08:49 -04:00
parent 7f344549aa
commit d32ba23705

View File

@ -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('<strong>' + base.replace(/\_/,' ') + '</strong>');
}
$('#ansible-list-title').html('<strong>' + base.replace(/\_/,' ') + '</strong>');
$('#ansible-main-menu li').each(function() {
$(this).removeClass('active');