Loading modules/commerce_kickstart/toolbar_megamenu/toolbar_megamenu.module +1 −1 Changes for modules/commerce_kickstart/toolbar_megamenu/toolbar_megamenu.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ function toolbar_megamenu_tree_output($tree, $balance = TRUE) { // the active class accordingly. But local tasks do not appear in menu // trees, so if the current path is a local task, and this link is its // tab root, then we have to set the class manually. if ($data['link']['href'] == $router_item['tab_root_href'] && $data['link']['href'] != $_GET['q']) { if (!empty($router_item['tab_root_href']) && $data['link']['href'] == $router_item['tab_root_href'] && $data['link']['href'] != $_GET['q']) { $data['link']['localized_options']['attributes']['class'][] = 'active'; } Loading Loading
modules/commerce_kickstart/toolbar_megamenu/toolbar_megamenu.module +1 −1 Changes for modules/commerce_kickstart/toolbar_megamenu/toolbar_megamenu.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -186,7 +186,7 @@ function toolbar_megamenu_tree_output($tree, $balance = TRUE) { // the active class accordingly. But local tasks do not appear in menu // trees, so if the current path is a local task, and this link is its // tab root, then we have to set the class manually. if ($data['link']['href'] == $router_item['tab_root_href'] && $data['link']['href'] != $_GET['q']) { if (!empty($router_item['tab_root_href']) && $data['link']['href'] == $router_item['tab_root_href'] && $data['link']['href'] != $_GET['q']) { $data['link']['localized_options']['attributes']['class'][] = 'active'; } Loading