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 d012228a31..143491b555 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -952,7 +952,7 @@ $(function() { } confirmModal( message, title, yes_label, no_label, function( result ){ if( result ){ - if( selected_titles.size() == 1 ){ + if( biblionumber ){ $("#shelf_delete_biblionumber").val( biblionumber ); $("#shelf_delete_title").submit(); } else { @@ -962,12 +962,6 @@ $(function() { }); } }); - $("body").on("hidden.bs.modal", "#bootstrap-confirm-box-modal", function(){ - /* If the user clicked a single "Remove from list" link, uncheck the checkbox */ - if( single_bib ){ - selected_titles.prop("checked", false ); - } - }); [% END %] [% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %]