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 a935eddf62..710080c86d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -953,7 +953,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 { @@ -963,12 +963,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 %]