|
Lines 952-958
$(function() {
Link Here
|
| 952 |
} |
952 |
} |
| 953 |
confirmModal( message, title, yes_label, no_label, function( result ){ |
953 |
confirmModal( message, title, yes_label, no_label, function( result ){ |
| 954 |
if( result ){ |
954 |
if( result ){ |
| 955 |
if( selected_titles.size() == 1 ){ |
955 |
if( biblionumber ){ |
| 956 |
$("#shelf_delete_biblionumber").val( biblionumber ); |
956 |
$("#shelf_delete_biblionumber").val( biblionumber ); |
| 957 |
$("#shelf_delete_title").submit(); |
957 |
$("#shelf_delete_title").submit(); |
| 958 |
} else { |
958 |
} else { |
|
Lines 962-973
$(function() {
Link Here
|
| 962 |
}); |
962 |
}); |
| 963 |
} |
963 |
} |
| 964 |
}); |
964 |
}); |
| 965 |
$("body").on("hidden.bs.modal", "#bootstrap-confirm-box-modal", function(){ |
|
|
| 966 |
/* If the user clicked a single "Remove from list" link, uncheck the checkbox */ |
| 967 |
if( single_bib ){ |
| 968 |
selected_titles.prop("checked", false ); |
| 969 |
} |
| 970 |
}); |
| 971 |
[% END %] |
965 |
[% END %] |
| 972 |
|
966 |
|
| 973 |
[% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %] |
967 |
[% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %] |
| 974 |
- |
|
|