Mercurial > kallithea
comparison scripts/run-all-cleanup @ 6300:9bd331004a65
templates: fix dropdown functionality of current menu item
After 3e46e6b6a27a, the 'current' menu would have two class attributes and it
would not work as a dropdown. For example, it was not possible to navigate from
Admin>Users to Admin>User Groups.
Instead, get rid of the is_current "helper" and just handle classes explicitly.
That might be slightly more verbose but is also more explicit ... and it works.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 10 Nov 2016 16:10:41 +0100 |
parents | 40edadecda69 |
children | 51af7c12ffb1 |
comparison
equal
deleted
inserted
replaced
6299:8a50208651c1 | 6300:9bd331004a65 |
---|