Skip to content

Commit 689c749

Browse files
authored
Adminhtml: better highlight for selected items in menu (#2738)
1 parent a6f8323 commit 689c749

File tree

1 file changed

+1
-2
lines changed
  • app/code/core/Mage/Adminhtml/Block/Page

1 file changed

+1
-2
lines changed

app/code/core/Mage/Adminhtml/Block/Page/Menu.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,8 @@ public function getMenuLevel($menu, $level = 0)
285285
. (!empty($item['title']) ? 'title="' . $item['title'] . '"' : '') . ' '
286286
. (!empty($item['target']) ? 'target="' . $item['target'] . '"' : '') . ' '
287287
. (!empty($item['click']) ? 'onclick="' . $item['click'] . '"' : '') . ' class="'
288-
. ($level === 0 && !empty($item['active']) ? 'active' : '') . '"><span>'
288+
. (!empty($item['active']) ? 'active' : '') . '"><span>'
289289
. $this->escapeHtml($item['label']) . '</span></a>' . PHP_EOL;
290-
291290
if (!empty($item['children'])) {
292291
$html .= $this->getMenuLevel($item['children'], $level + 1);
293292
}

0 commit comments

Comments
 (0)