Lines 61-66
KOHA.browser = function (searchid, biblionumber) {
Link Here
|
61 |
$.cookie(me.searchid, JSON.stringify(me.searchCookie), { path: '/' }); |
61 |
$.cookie(me.searchid, JSON.stringify(me.searchCookie), { path: '/' }); |
62 |
$(document).ready(function () { |
62 |
$(document).ready(function () { |
63 |
//FIXME It's not a good idea to modify the click events |
63 |
//FIXME It's not a good idea to modify the click events |
|
|
64 |
$('#searchresults table tr a[href*="detail.pl"]').on('click', function (ev) { |
65 |
ev.preventDefault(); |
66 |
}); |
64 |
$('#searchresults table tr a[href*="detail.pl"]').on('mousedown', function (ev) { |
67 |
$('#searchresults table tr a[href*="detail.pl"]').on('mousedown', function (ev) { |
65 |
if ( ev.which == 2 || ev.which == 1 && ev.ctrlKey ) { |
68 |
if ( ev.which == 2 || ev.which == 1 && ev.ctrlKey ) { |
66 |
// Middle click or ctrl + click |
69 |
// Middle click or ctrl + click |
67 |
- |
|
|