From b6a949b2735b4f7b34413d91c2755752c20de60a Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Mon, 19 Dec 2016 23:04:39 +0000 Subject: [PATCH] Bug 17794: 'Comments' in Tools menu is not showing as active To test: 1) Go to Tools -> Comments 2) Notice that the Comments menu item is not bold when you click on 'Approved comments' tab 3) Apply patch and refresh page 4) Comments menu item should now be bold when on either tab. Sponsored-by: Catalyst IT --- 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 63c318e..26e1a9d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -8,6 +8,8 @@ } if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 ) { $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold'); + } else if (path.indexOf("reviews") >= 0 ) { + $('#navmenulist a[href$="/cgi-bin/koha/reviews/reviewswaiting.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 ) { -- 2.1.4