diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index 3e6f8c3a4b..e07cbe538e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -18,8 +18,8 @@ ] })); - $("a.delete_item").click(function(){ - return confirm( _("Are you sure you want to remove this item from the course?")); + $(".delete_item").click(function(){ + return confirmDelete(_("Are you sure you want to remove this item from the course?")); }); $("#delete_course").click(function(){ @@ -207,11 +207,11 @@ [% IF CAN_user_coursereserves_delete_reserves %] [% IF cr.item.onloan %] - + [% ELSIF cr.item.itemlost %] - + [% ELSE %] - + [% END %] Remove [% END %]