@@ -, +, @@ --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -669,7 +669,7 @@ $(document).ready(function(){ }); [% END %] - $(".cb").click(function(){ + $(".cb").change(function(){ if ( $(this).is(':checked') == true ) { addBibToContext( $(this).val() ); } else { @@ -677,6 +677,14 @@ $(document).ready(function(){ } enableCheckboxActions(); }); + $(".details_link a").click(function(e) { + if ( $(this).hasClass("disabled") == true ) { + e.preventDefault(); + alert(MSG_NO_RECORD_SELECTED); + return false; + } + }); + enableCheckboxActions(); $("#bookbag_form").ready(function(){ --