mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Menu title fix
Always recalc menu title regardless of menu level.
This commit is contained in:
parent
7f344549aa
commit
d32ba23705
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user