Actions
Bug #14995
closedJSMENU showActive not working with entryLevel
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-09-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.7.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The showActive for the JSMENU does not work when setting a Entry Level . The problem is in tslib/class.tslib_menu.php
Line 246 is the the Problem because it does not check for an entryLevel.
$active = ($levelConf['showActive'] && $data['uid'] $this->tmpl->rootLine[$count]['uid']);
This can be fixed easyly using the following line
$active = ($levelConf['showActive'] && $data['uid'] $this->tmpl->rootLine[$count+$this->conf['entryLevel']]['uid']);
(issue imported from #M1508)
Actions