@@ -, +, @@ disabled --- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -162,7 +162,9 @@ Tag status here. [% END %] - Browse selected records + [% IF Koha.Preference('OpacBrowseResults') %] + Browse selected records + [% END %] @@ -670,11 +672,13 @@ $(document).ready(function(){ [% END %] $(".cb").change(function(){ - if ( $(this).is(':checked') == true ) { - addBibToContext( $(this).val() ); - } else { - delBibToContext( $(this).val() ); - } + [% IF Koha.Preference('OpacBrowseResults') %] + if ( $(this).is(':checked') == true ) { + addBibToContext( $(this).val() ); + } else { + delBibToContext( $(this).val() ); + } + [% END %] enableCheckboxActions(); }); $(".details_link a").click(function(e) { --