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. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Amended patch: fix alignement Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
c91b16bd9e
commit
0427dfe8ee
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue