mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Menu title fix
Always recalc menu title regardless of menu level.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user