View | Details | Raw Unified | Return to bug 34131
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +5 lines)
Lines 144-150 $(document).ready(function() { Link Here
144
        if ( url.match(/\?(.+)$/) ) {
144
        if ( url.match(/\?(.+)$/) ) {
145
            params = "?" + RegExp.$1;
145
            params = "?" + RegExp.$1;
146
        }
146
        }
147
        $("a[href$=\"/" + path + params + "\"]", navmenulist).addClass("current");
147
        if ($("a[href$=\"/" + path + params + "\"]", navmenulist).length == 0){
148
            $("a[href$=\"/" + path + "\"]", navmenulist).addClass("current");
149
        } else {
150
            $("a[href$=\"/" + path + params + "\"]", navmenulist).addClass("current");
151
        }
148
    }
152
    }
149
153
150
    $("#catalog-search-link a").on("mouseenter mouseleave", function(){
154
    $("#catalog-search-link a").on("mouseenter mouseleave", function(){
151
- 

Return to bug 34131