From 5ca99888dd3feb49328040bd3ba6e79200e35bae Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 20 Nov 2015 11:29:44 +1300 Subject: [PATCH] [SIGNED-OFF] Bug 15213 - Fix tools sidebar to highlight Patron lists when in that module Content-Type: text/plain; charset="utf-8" To test: Add some patron lists, navigate through the lists interface and make sure that while you are in the module, that Patron lists is highlighted on the sidebar. Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index 12057cc..352b348 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -10,6 +10,8 @@ $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold'); } else if (path.indexOf("patroncards") >= 0 ) { $('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').css('font-weight','bold'); + } else if (path.indexOf("patron_lists") >= 0 ) { + $('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold'); } else { $('#navmenulist a[href$="/' + path + params + '"]').css('font-weight','bold'); } -- 2.1.4