Skip to content

Commit

Permalink
fixed unfolding active submenus on add/edit pages
Browse files Browse the repository at this point in the history
  • Loading branch information
d.choban committed Feb 7, 2018
1 parent 4dd4b48 commit f4b6341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arctic/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def is_active(path, path_to_check):
if not path_to_check:
return False
return path == path_to_check
return path_to_check in path

# TODO: menu needs to hide entries not available to a certain user role
# by getting the view class from the named url we can check which permissions
Expand Down

0 comments on commit f4b6341

Please sign in to comment.