From 962cd6544f63eee274ccdaf3acdbb0b56ff0965b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 6 Apr 2015 01:09:01 -0400 Subject: [PATCH] Re-enable the setting of the active link in the view context --- mayan/apps/navigation/classes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/navigation/classes.py b/mayan/apps/navigation/classes.py index 1904cce7c2..9e314a93fd 100644 --- a/mayan/apps/navigation/classes.py +++ b/mayan/apps/navigation/classes.py @@ -194,6 +194,8 @@ class Link(object): if self.keep_query: resolved_link.url = '%s?%s' % (urlquote(resolved_link.url), urlencode(parsed_query_string, doseq=True)) + resolved_link.active = self.view == current_view + return resolved_link