From 11493d2dec42f39a1da077d241d31a617933a776 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 20 Nov 2015 11:29:44 +1300 Subject: [PATCH] Bug 15213 - Fix tools sidebar to highlight Patron lists when in that module 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. Depends on 15211 and 15213 --- 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 d4c19bc..73d6ebf 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'); } -- 1.9.1