diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 981fd41f36..b8bced4d13 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -38,7 +38,7 @@ [% BLOCK list_permissions %]
  • - [% IF shelf.allow_change_from_owner %][% ELSE %][% END %] @@ -236,7 +236,7 @@ [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] - Send list + Send list [% END %] Print list @@ -547,14 +547,6 @@ [% END %] - [% IF can_manage_shelf %] -
    - - - - -
    - [% END %] [% END # / IF itemsloop %] [% END # /IF shelf AND op == 'view' %] @@ -610,7 +602,7 @@ [% IF Koha.Preference('OpacAllowPublicListCreation') OR public == 1 %]
  • - [% IF shelf.is_private %] [% ELSE %] @@ -1057,6 +1049,16 @@ $(function() { $("#download_list").submit(); }); + $("#allow_changes_from, #public").on("change", function(){ + AdjustRemark(); + }); + + $(".send").on("click", function(e){ + e.preventDefault(); + let link = this.href; + Dopop( link ); + }); + }); // document.ready function sortMenu( sorting_form ){