Merge "Automatically expand the current panel group on dashboard expansion"

This commit is contained in:
Jenkins 2015-01-10 22:40:01 +00:00 committed by Gerrit Code Review
commit 2f22933b11

View File

@ -50,6 +50,7 @@ horizon.addInitFunction(function() {
{
// collapse the inactive panel groups
activeDashPanel.closest('div').find("h4").addClass("active");
activeDashPanel.closest('ul').slideDown();
allPanelGroupBodies.each(function(index, value) {
var activePanels = $(value).find('li > a.active');
if(activePanels.length === 0) {