@@ -, +, @@ BrowseResultSelection is activated - With BrowseResultSelection enabled, search for any item. Your cookie tool should report that you have a bibs_selected cookie stored. - With BrowseResultSelection disabled, search for any item. You should have a bibs_selected cookie. - With the BrowseResultSelection system preference enabled, search for any item. Your cookie tool should report that you have a bibs_selected cookie stored. - With BrowseResultSelection disabled, search for any item. You should have no bibs_selected cookie. --- koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -22,7 +22,9 @@ [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") %] [% Asset.js("js/staff-global.js") %] -[% Asset.js("js/commons.js") %] +[% IF Koha.Preference('BrowseResultSelection') %] + [% Asset.js("js/commons.js") %] +[% END %] [% INCLUDE 'validator-strings.inc' %] [% IF ( IntranetUserJS ) %] --