From 29f56fd5a0fe35927ca97f43e459d3ec5b2d24f4 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Thu, 21 Dec 2017 21:16:59 +0000 Subject: [PATCH] Bug 19608: (QA follow-up) Fix menu item styling for clone-rules Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/js/admin-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js b/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js index 882d9a0e06..d0557feecf 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js +++ b/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js @@ -8,7 +8,7 @@ $(document).ready(function() { $('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').css('font-weight','bold'); } else if (path == "cgi-bin/koha/admin/items_search_field.pl") { $('#navmenulist a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]').css('font-weight','bold'); - } else if ( path.indexOf("clone-rules") ) { + } else if (path == "cgi-bin/koha/admin/clone-rules.pl") { $('#navmenulist a[href$="/cgi-bin/koha/admin/smart-rules.pl"]').css('font-weight','bold'); } else { $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold'); -- 2.39.5