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

(-)a/koha-tmpl/intranet-tmpl/js/browser.js (-3 / +2 lines)
Lines 63-72 KOHA.browser = function (searchid, biblionumber) { Link Here
63
        sessionStorage.setItem('searches', JSON.stringify(searches));
63
        sessionStorage.setItem('searches', JSON.stringify(searches));
64
        $(document).ready(function () {
64
        $(document).ready(function () {
65
            //FIXME It's not a good idea to modify the click events
65
            //FIXME It's not a good idea to modify the click events
66
            $('#searchresults table tr a[href*="detail.pl"]').on('click', function (ev) {
66
            $('#searchresults table tr a[href*="/detail.pl"]').on('click', function (ev) {
67
                ev.preventDefault();
67
                ev.preventDefault();
68
            });
68
            });
69
            $('#searchresults table tr a[href*="detail.pl"]').on('mousedown', function (ev) {
69
            $('#searchresults table tr a[href*="/detail.pl"]').on('mousedown', function (ev) {
70
                if ( ev.which == 2 || ev.which == 1 && ev.ctrlKey ) {
70
                if ( ev.which == 2 || ev.which == 1 && ev.ctrlKey ) {
71
                    // Middle click or ctrl + click
71
                    // Middle click or ctrl + click
72
                    ev.preventDefault();
72
                    ev.preventDefault();
73
- 

Return to bug 19390