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:
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…
Reference in New Issue
Block a user