Revert "NavigationItemRenderer: Provide a id if none is set"

This reverts commit c60839d798.
This commit is contained in:
Johannes Meyer 2015-09-04 09:38:03 +02:00
parent 975cc92f6b
commit 2855778dc7
1 changed files with 0 additions and 4 deletions

View File

@ -160,10 +160,6 @@ class NavigationItemRenderer
$label = $this->view()->icon($icon) . $label;
}
if (! $item->getAttribute('id')) {
$item->setAttribute('id', $item->getUniqueName());
}
if (($url = $item->getUrl()) !== null) {
$content = sprintf(
'<a%s href="%s"%s>%s</a>',