mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-08 04:56:56 -06:00
Fix up device component tab navigation & return URLs
This commit is contained in:
@@ -873,7 +873,7 @@ var prefix = "tab_";
|
||||
if (hash) {
|
||||
$('.nav-pills a[href="'+hash.replace(prefix,"")+'"]').tab('show');
|
||||
}
|
||||
$('.nav-tabs a').on('shown.bs.tab', function (e) {
|
||||
$('.nav-pills a').on('shown.bs.tab', function (e) {
|
||||
window.location.hash = e.target.hash.replace("#", "#" + prefix);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user