diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 50658e0c51..01d3117e1e 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -38,10 +38,13 @@ $(this).parent().addClass("active"); } else { /* Special case the configvar as this is part of configuration - * page but is a separate url + * page but is a separate url, and the direct links to errors + * and warnings, which are part of the build dashboard */ if (window.location.pathname === configVarUrl){ $("#menu-configuration").addClass("active"); + } else if (currentUrl.indexOf('error') > 1 || currentUrl.indexOf('warning') > 1){ + $("#menu-dashboard").addClass("active"); } else { $(this).parent().removeClass("active"); } @@ -57,7 +60,7 @@